set.crit.parms {FAMoS}R Documentation

Convert Critical and Swap Sets

Description

Converts the user-specified list containing the names of the critical or swap parameters into a format that is more convenient for calculations.

Usage

set.crit.parms(critical.parameters, all.names)

Arguments

critical.parameters

A list containing vectors which specify either critical parameter sets or swap parameter sets (see Details).

all.names

A vector containing the names of all parameters.

Details

Critical sets are parameters sets, of which at least one per set has to be present in each tested model. If a model violates on of the critical conditions, it will not be fitted (see also model.appr). On the other hand, swap parameter sets define which parameters are interchangeable. For more information see famos.

Value

A list containing the indices of the respective critical or swap sets.

Examples

#set critical set and names
crits <- list(c("p1", "p2"), c("p5"))
par.names <- c("p1", "p2", "p3", "p4", "p5")
#convert the critical conditions
set.crit.parms(critical.parameters = crits, all.names = par.names)

[Package FAMoS version 0.3.0 Index]