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 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?
A list of named lists of parameters.
Takes the baseline parameter list and substitutes alternative values.
# NOT RUN { 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