check_stochastic_pars: Model definition checks for predict_stochastic_growth

View source: R/predict_stochastic_growth.R

check_stochastic_parsR 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).


biogrowth documentation built on May 29, 2024, 4:17 a.m.