Learn R Programming

marked (version 1.2.8)

mvms_design_data: Multivariate Multistate (mvms) Design Data

Description

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

Usage

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

Value

a dataframe to be used with design data for mvms model

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

Author

Jeff Laake

Examples

Run this code
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