Closed jsocolar closed 3 years ago
@jsocolar I think closure-unit works well (perhaps a bit cumbersome, but I can't think of anything better that is sufficiently general).
Of the two options, I prefer option 2. Yes, people will have to read the documentation, but all it requires is being very clear that it's a catch-all term that refers to "site" in a single-species model, and "site:species" in a multispecies model. The only other question is whether visit_covs
is sufficiently general, given that you might just as well have spatial replication rather than temporal? Would rep_covs
or similar work better?
@SimonCMills We should use consistent terminology across our code and our doc. Right now, for example, we have "(visit-)constant covariates" in some places but "unit covariates" in other places.
I propose:
Then we have two options for what to call covariates.
OPTION 1: Covariates are either "visit-constant" or "visit-varying".
names(example_flocker_data())
, which currently is"obs" "unit_covs" "visit_covs"
. Either we'd need to changeunit_covs
toconstant_covs
, which I think is confusing since the covariantes aren't constant (of course) but rather are visit-constant, or we'd need to use something quite cumbersome like "visit_constant_covs" and "visit_varying_covs"`.OPTION 2: Covariates are either "unit" or "visit".