random.init.model {FAMoS} | R Documentation |
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 |
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
#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)
[Package FAMoS version 0.3.0 Index]