check_stochastic_pars {biogrowth}R Documentation

Model definition checks for predict_stochastic_growth

Description

Does several checks of the model parameters. Besides those by check_primary_pars, it checks that corr_matrix is square, that pars and corr_matrix have compatible dimensions, and that pars has the correct names.

Usage

check_stochastic_pars(model_name, pars, corr_matrix)

Arguments

model_name

Character describing the primary growth model.

pars

A tibble describing the parameter uncertainty (see details).

corr_matrix

Correlation matrix of the model parameters. Defined in the same order as in pars. An identity matrix by default (uncorrelated parameters).


[Package biogrowth version 1.0.4 Index]