Methods for converting to bru_obs
and bru_obs_list
objects.
Usage
as_bru_obs(x, ...)
as_bru_obs_list(x, .tag = NULL)
# S3 method for class 'bru_obs'
as_bru_obs(x, ...)
# S3 method for class 'bru_obs'
as_bru_obs_list(x, .tag = NULL)
# S3 method for class 'list'
as_bru_obs_list(x, .tag = NULL)
# S3 method for class 'bru_obs_list'
as_bru_obs_list(x, .tag = NULL)
# S3 method for class 'bru'
as_bru_obs_list(x, .tag = NULL)
Arguments
- x
An object to convert to bru_obs or bru_obs_list
- ...
Additional arguments passed to sub-methods.
- .tag
character; optional name for the single observation model in the returned bru_obs_list object. Default is
NULL
, which results in automatic naming based on thetag
attribute ofx
, if present.
Value
An object of class bru_obs or bru_obs_list.