check_nll_poisson_gamma_inputs {aeddo} | R Documentation |
This function is for internal use and checks the validity of inputs to the nll_poisson_gamma function. It performs various checks using the checkmate package to ensure that the inputs conform to expected types and values.
check_nll_poisson_gamma_inputs(theta, data, formula)
theta |
Numeric vector of parameters. |
data |
A data frame containing the time series data. |
formula |
A model formula for the fixed effects in the hierarchical model. |
Returns nothing. Raises errors if the inputs do not meet the specified criteria.
## Not run:
# This function is for internal use and is called within the
# nll_poisson_gamma function. It is not intended to be called directly by
# users.
## End(Not run)