Description Usage Arguments Value Examples
View source: R/point_profile_function.R
For a fixed value of one of the parameters, point.profile
fits the remaining parameters and stores the results in the folder "Profile-Results/Fits/" to be accessed by create.profile
later.
1 2 3 | point.profile(no.fit, parms, fit.fn, homedir = getwd(), optim.runs = 5,
random.borders = 1, con.tol = 0.1, control.optim = list(maxit =
1000), parscale.pars = TRUE, save.rel.diff = 0, ...)
|
no.fit |
A named vector containing the values of all parameters that are not to be fitted. |
parms |
A named vector containing the values of all parameters. |
fit.fn |
A cost function. Has to take the complete parameter vector as an input (needs to be names |
homedir |
The directory to which the results should be saved to. |
optim.runs |
The number of times that each model will be fitted by |
random.borders |
The ranges from which the random initial parameter conditions for all |
con.tol |
The absolute convergence tolerance of each fitting run (see Details). Default is set to 0.1. |
control.optim |
Control parameters passed along to |
parscale.pars |
Logical. If TRUE (default), the |
save.rel.diff |
A numeric value indicating when to overwrite a pre-existing result. Default to 0, which means that results get overwritten if an improvement is made. |
... |
Other parameters to be passed on to optim. |
Returns the fitted parameter set and the corresponding log-likelihood.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.