FAMoS (version 0.1.0)

random.init.model: Generate Random Starting Model

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

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

Run this code
# NOT RUN {
#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)
# }

Run the code above in your browser using DataLab