Description Usage Arguments Value Examples
View source: R/set_init_model_function.R
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.
1 | random.init.model(number.par, crit.parms = NULL, no.fit = NULL)
|
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. |
A vector containing the parameter indices of the random model.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.