get_param_name: This function selects the names of parameters belonging to...

Description Usage Arguments Value See Also Examples

View source: R/parameters.R

Description

This function is called internally by other functions. We distinguish meta parameters (e.g. "w1") from actual parameters (e.g. "w1.females", "w1.males"). This function allows for the retrieval of all parameters that have the same meta parameter name. If no name is given for the meta parameter, the function extracts the meta parameter names from the parameter names.

Usage

1
get_param_name(meta_param_name = NULL, param_names)

Arguments

meta_param_name

The name of the meta parameter

param_names

A vector of parameter names

Value

A vector of parameter names.

See Also

get_param_names_without_meta

Examples

1
get_param_name(meta_param_name = "w1", param_names = rownames(Models$mod1$param_matrix_full))

courtiol/SileR documentation built on May 16, 2020, 8:10 p.m.