Description Usage Arguments Details Value Author(s) Examples
Gets and sets the "parnames" attribute on a negative log-likelihood function
1 2 |
obj |
a negative log-likelihood function |
value |
a character vector of parameter names |
The parnames
attribute is used by mle2()
when the negative log-likelihood function takes a parameter
vector, rather than a list of parameters; this allows
users to use the same objective function for optim()
and mle2()
Returns the parnames
attribute (a character vector of
parameter names) or sets it.
Ben Bolker
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.