Validate latent individual model data
Source:R/latent_individual.R
epidist_validate.epidist_latent_individual.Rd
This function checks whether the provided data
object is suitable for
running the latent individual model. As well as making sure that
is_latent_individual()
is true, it also checks that data
is a
data.frame
with the correct columns.
Usage
# S3 method for class 'epidist_latent_individual'
epidist_validate(data, ...)
See also
Other latent_individual:
as_latent_individual()
,
epidist_family_model.epidist_latent_individual()
,
epidist_formula_model.epidist_latent_individual()
,
is_direct_model()
,
is_latent_individual()