Description Usage Arguments Value
structure_data
restructures a wide-format matrix or data frame to a 3d array, which can be passed on to fitrem
to fit a model
1 | structure_data(data, dcols, xcolnames, otime, ...)
|
data |
a wide-format matrix or data frame |
dcols |
column names containing capture dates |
xcolnames |
column names containing time-invariant covariates |
otime |
the observation window in days |
... |
Further arguments to be passed from or to other methods |
a 3D-array of dimension n x otime x length(xcolnames)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.