Package: readdst 0.0.6.9003

David Miller

readdst: Convert Distance for Windows projects to R analyses

Take projects built using Distance for Windows and create R scripts which duplicate the analysis. Optionally build a test suite that checks analysis results from Distance with the equivalent R results.

Authors:David Miller [aut, cre]

readdst_0.0.6.9003.tar.gz
readdst_0.0.6.9003.zip(r-4.5)readdst_0.0.6.9003.zip(r-4.4)readdst_0.0.6.9003.zip(r-4.3)
readdst_0.0.6.9003.tgz(r-4.4-any)readdst_0.0.6.9003.tgz(r-4.3-any)
readdst_0.0.6.9003.tar.gz(r-4.5-noble)readdst_0.0.6.9003.tar.gz(r-4.4-noble)
readdst_0.0.6.9003.tgz(r-4.4-emscripten)readdst_0.0.6.9003.tgz(r-4.3-emscripten)
readdst.pdf |readdst.html
readdst/json (API)
NEWS

# Install 'readdst' in R:
install.packages('readdst', repos = c('https://distancedevelopment.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/distancedevelopment/readdst/issues

On CRAN:

1.74 score 1 stars 11 scripts 6 exports 89 dependencies

Last updated 3 years agofrom:12e8a5bfe5. Checks:ERROR: 7. Indexed: yes.

TargetResultDate
Doc / VignettesFAILOct 22 2024
R-4.5-winERROROct 22 2024
R-4.5-linuxERROROct 22 2024
R-4.4-winERROROct 22 2024
R-4.4-macERROROct 22 2024
R-4.3-winERROROct 22 2024
R-4.3-macERROROct 22 2024

Exports:convert_projectcreate_binsget_datarun_analysistest_statsunflatfile

Dependencies:backportsbase64encbriobslibcachemcallrcheckmatecliclustercolorspacecrayondata.tabledescdiffobjdigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixmemoisemgcvmimemrdsmunsellnlmenloptrnnetnumDerivoptimxpillarpkgbuildpkgconfigpkgloadplyrpracmapraiseprocessxpsR6rappdirsRColorBrewerRcpprematch2rlangrmarkdownRODBCrpartrprojrootRsolnprstudioapisassscalesstringistringrtestthattibbletinytextruncnormutf8vctrsviridisviridisLitewaldowithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Convert Distance for Windows analyses to R codereaddst-package readdst
Work out the layer hierarchy in the Distance databasebuild_layer_hierarchy
Convert a Distance for Windows project to be run in Rconvert_project
Converted analysis objectsconverted_distance_analyses converted_distance_analysis
Converted distance dataconverted_distance_data
Create bins from a set of binned distances and a set of cutpoints.create_bins
Get data from the Distance project databasedb_get
Filter the datafilter_data
Extract data from a Distance databaseget_data
Extract definition information from tablesget_definitions
Extract saved statistics for analysesget_stats
Get the unit conversions for the dataget_unit_conversion
Estimate group sizegroup_size_est
Make an analysismake_analysis
Make the control element of a call to 'ddf'make_control
Build a dsmodel callmake_dsmodel
Build a dsmodel or mrmodel formulamake_formula
Build the model meta.datamake_meta.data
Build a distance sampling analysismake_model
Build a mrmodel callmake_mrmodel
Merge results from stratified analysesmerge_results
Make a user-readable model description stringmodel_description
Model selection for key plus adjustment modelsmodel_selection
Parse a Definition of a data filterparse_definition.data_filter
Parse a Definitionparse_definition.model
Converted distance analyses tableprint.converted_distance_analyses
Print a converted distance analysisprint.converted_distance_analysis
Print tested statisticsprint.distance_stats_table
Run a converted distance sampling analysisrun_analysis
Set column names in data to be as in formulaeset_covar_names
Generate table of possible statistics to teststats_table
Test to see if Distance for Windows and R get the same resultstest_stats
Take a flatfile data.frame and make dht-compatible data.framesunflatfile
Generate table of unit conversionsunits_table