check_nll_poisson_gamma_inputs {aeddo}R Documentation

Check and assert the inputs for the nll_poisson_gamma function.

Description

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.

Usage

check_nll_poisson_gamma_inputs(theta, data, formula)

Arguments

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.

Value

Returns nothing. Raises errors if the inputs do not meet the specified criteria.

Examples

## 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)

[Package aeddo version 0.1.1 Index]