powered by
Creates a dataframe with design data for MvMS model for a single occasion
mvms_design_data(df.states, df = NULL, transition = TRUE)
a dataframe to be used with design data for mvms model
dataframe of states created from set_mvms
is dataframe of observations; provided for parameter delta in which both state and observation are needed in design data
if TRUE, creates design data for a state transition (from to); otherwise just state variables
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)
Run the code above in your browser using DataLab