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
.
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.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.