In the meantime, I think I found an issue in the help text for "unmarkedMultFrame". I think that the format of the the yearly site covariates and the observation covariates are not described correctly. The text says this (which seems wrong): "
‘yearlySiteCovs’ is a data frame with MT rows which are in site-major, year-minor order. ‘obsCovs’ is a data frame with MTJ rows, which are ordered by site-year-observation"
This is contradicted by the numerical example at the bottom:
(M) n <- 50 # number of sites
(T) T <- 4 # number of primary periods
(J) J <- 3 # number of secondary periods
In the meantime, I think I found an issue in the help text for "unmarkedMultFrame". I think that the format of the the yearly site covariates and the observation covariates are not described correctly. The text says this (which seems wrong): " ‘yearlySiteCovs’ is a data frame with MT rows which are in site-major, year-minor order. ‘obsCovs’ is a data frame with MTJ rows, which are ordered by site-year-observation"
This is contradicted by the numerical example at the bottom: (M) n <- 50 # number of sites (T) T <- 4 # number of primary periods (J) J <- 3 # number of secondary periods