check_distr_arg: This function checks for validity of arguments based on the...

View source: R/cbea_internals.R

check_distr_argR Documentation

This function checks for validity of arguments based on the parameters and the distribution of interest

Description

This function checks for validity of arguments based on the parameters and the distribution of interest

Usage

check_distr_arg(param, distr, .note = NULL)

Arguments

param

(List). Named list of parameter values

distr

(String). String name of the distribution being evaluated

.note

(String). Any additional annotation to be put in front of error messages

Value

Returns 0 if there are no errors


qpmnguyen/teaR documentation built on April 4, 2022, 7:26 p.m.