Multivariate Multistate (mvms) Design Data

Share:

Description

Creates a dataframe with design data for MvMS model for a single occasion

Usage

1
mvms_design_data(df.states, df = NULL, transition = TRUE)

Arguments

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

Value

a dataframe to be used with design data for mvms model

Author(s)

Jeff Laake

Examples

1
2
3
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.