| check_observations | R Documentation |
Data sets need to contain sufficient information to uniquely identify the value of all model parameters. For example, if site A has only one observation, day for year J, this observation cannot be used to estimate the year factor for year J as well.
check_observations(x, ...)
## S3 method for class 'data.frame'
check_observations(
x,
model,
count_col = "count",
site_col = "site",
year_col = "year",
month_col = NULL,
covars = character(0),
changepoints = numeric(0),
eps = 1e-08,
...
)
## S3 method for class 'trimcommand'
check_observations(x, ...)
## S3 method for class 'character'
check_observations(x, ...)
x |
A |
... |
Parameters passed to other methods. |
model |
|
count_col |
|
site_col |
|
year_col |
|
month_col |
|
covars |
|
changepoints |
|
eps |
|
An error message, or an empty string.
An error message, or an empty string.
Other modelspec:
read_tcf(),
read_tdf(),
set_trim_verbose(),
trim(),
trimcommand()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.