mvms_design_data | R Documentation |
Creates a dataframe with design data for MvMS model for a single occasion
mvms_design_data(df.states, df = NULL, transition = TRUE)
df.states |
dataframe of states created from set_mvms |
df |
is dataframe of observations; provided for parameter delta in which both state and observation are needed in design data |
transition |
if TRUE, creates design data for a state transition (from to); otherwise just state variables |
a dataframe to be used with design data for mvms model
Jeff Laake
x=set_mvms(list(location=c("A","B","C"),repro_status=c("N","P","u")))
mvms_design_data(x$df.states)
mvms_design_data(x$df.states,transition=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.