check_prior_name_scalar: Check if prior's name exist

View source: R/prms.R

check_prior_name_scalarR Documentation

Check if prior's name exist

Description

Checks if the name of all prior parameters are consistent with the model parameters already defined. The model parameters and the priors parameters are separately defined by the user, hencethis function checks for typos and inconsistent naming.

Usage

check_prior_name_scalar(lhs, prm)

Arguments

lhs

Dataframe of prior samples.

prm

List of model parameters.

Value

Stop the program if at least one inconsistency in the prior parameter names is found.


phac-nml-phrsd/wem documentation built on June 6, 2024, 11:06 p.m.