Once convert_project has been run on a project, two types of object are created: first an object of class converted_distance_analyses, which is just a list of converted_distance_analysis objects.
converted_distance_analysis contain all the information necessary to run a Distance for Windows model in R. Each object has the following elements:
call string with the call to ddf to build and run the model
aic.select maximum number of terms to select by AIC if AIC term selection has been enabled (for key plus adjustment terms models only)
status what the status of this model was in Distance for Windows (see "Status" below)
env an environment that contains data needed to run the model (data containing entire dataset in flatfile form, obs.table containing the observation table, sample.table is the sample table, reg.table is the region table and units is a matrix describing conversion factor of distance measures (effort and detection distance) to areal measurements (for density))
filter string used to subset the data to get the same filter as in Distance for Windows
group_size describes how size bias adjustment is conducted, and the level of hierarchy at which E(s) is computed
detection_by level of design hierarchy at which detection function is computed (e.g. pooled across strata)
gof_intervals if binning is done for GOF testing, cutpoints are provided here
estimation what sort of weighted average is used to compute region-level density estimate
name the name for this analysis, as used in Distance for Windows
ID the ID number for this analysis, as used in Distance for Windows
The status code is taken from Distance for Windows to indicate whether the analysis has been run yet and what the outcome was. Status codes are as follows:
0 analyses has not been run in Distance for Windows yet
1 analysis ran without errors or warnings
2 analysis ran with warnings
3 analysis ran with errors
Note that an analysis that runs with error in Distance for Windows may run fine in R and an analysis that runs fine in Distance for Windows may not work in R. In the latter case, please consider submitting this a a bug to github.com/distancedevelopment/distance-bugs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.