readdst-package: Convert Distance for Windows analyses to R code

Description Details Examples

Description

This package read data and model definitions from a Distance for Windows project (.dst and .dat files) and converts models to run in the R package mrds.

Details

Usually, a workflow will look something like that below, centred around the functions convert_project and run_analysis . See also the vignette shipped with the package for example output.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
library(readdst)
# load the golftees sample project and convert it
project <- system.file("Golftees-example", package="readdst")
project <- paste0(project,"/Golftees")
converted <- convert_project(project)

# run the first analysis in the project and look at model summary
analysis_1 <- run_analysis(converted[[1]], debug=TRUE)
summary(analysis_1)

## End(Not run)

DistanceDevelopment/readdst documentation built on Sept. 21, 2021, 10:41 p.m.