R/check_formula-fit-methods.R
check_formula.bayesnecfit.RdRun check_formula() on each stored formula against its fitting data,
or against supplied data. The result follows the structure returned by
formula() for the fit class.
# S3 method for class 'bayesnecfit'
check_formula(formula, data, ...)
# S3 method for class 'bayesmanecfit'
check_formula(formula, data, ...)
# S3 method for class 'bayesnecgroupfit'
check_formula(formula, data, ...)
# S3 method for class 'bayesnechurdlefit'
check_formula(formula, data, ...)
# S3 method for class 'bayesnecjointfit'
check_formula(formula, data, ...)A fitted bayesnecfit, bayesmanecfit,
bayesnecgroupfit, bayesnechurdlefit or
bayesnecjointfit.
An optional data frame to check against every stored formula.
For a hurdle fit, supply the original response data; the method selects
survivors for growth and creates .alive for survival. When omitted,
each formula is checked against its stored fitting data.
Further checks, such as run_par_checks, passed to the
formula method.
The validated bayesnecformula for a single fit, or a named
list by equation, level or component for the other fit classes.