| check_optim | R Documentation |
Checks that the arguments supplied by the user are appropriate to be passed
to optim(). Used internally in parameter estimation.
check_optim(par0, method, lower, upper, choices = NULL, len = 1)
par0 |
numeric or character. If numeric, it is passed to optim as the
initial estimation, i.e. the |
method, lower, upper |
arguments passed to optim. |
choices |
character. A vector of available estimation methods for the
|
len |
integer. The appropriate length of the |
par0, possibly altered via match.arg() if it is a character.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.