check_optim {joker} | R Documentation |
Check Optim Arguments
Description
Checks that the arguments supplied by the user are appropriate to be passed
to optim()
. Used internally in parameter estimation.
Usage
check_optim(par0, method, lower, upper, choices = NULL, len = 1)
Arguments
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 |
Value
par0
, possibly altered via match.arg()
if it is a character.
[Package joker version 0.14.2 Index]