random.init.model: Generate Random Starting Model

Description Usage Arguments Value Examples

View source: R/set_init_model_function.R

Description

Generates a random starting model (if specified by the user in famos), taking into account the critical conditions and the parameters which should not be fitted.

Usage

1
random.init.model(number.par, crit.parms = NULL, no.fit = NULL)

Arguments

number.par

The number of total parameters available.

crit.parms

A list containing vectors which specify the critical parameter sets. Needs to be given by index and not by name (for conversion see set.crit.parms).

no.fit

A vector containing the indices of the parameters which are not to be fitted.

Value

A vector containing the parameter indices of the random model.

Examples

1
2
3
4
5
#set critical conditions
crits <- list(c(1,2,3), c(4,5))
#generate random model
random.init.model(number.par = 20)
random.init.model(number.par = 20, crit.parms = crits)

FAMoS documentation built on May 26, 2019, 5 p.m.