powered by
Takes a baseline set of parameters and perturbs it to create a variety of starting points for maximum likelihood estimation or MCMC
perturb.params(base, alt, which, mult = FALSE, use.base = TRUE)
A list of named lists of parameters.
a named list (or vector) of parameters
a list of lists (or vectors) of alternative parameter values or multipliers
which parameters to perturb (currently unused)
(logical) multiply baseline values rather than replacing them?
(logical) include baseline parameters in the list?
Ben Bolker
Takes the baseline parameter list and substitutes alternative values.
perturb.params(list(x=1,y=2,z=3),alt=list(x=c(2,4),z=5))
Run the code above in your browser using DataLab