coef.toptim: minimal structure for optim fits

Description Usage Arguments Details Value Note

View source: R/mixstock.R

Description

provides coef() and logLik() methods for optim fits

Usage

1
2
3
4
## S3 method for class 'toptim'
coef(object,...)
## S3 method for class 'toptim'
logLik(object,...)

Arguments

object

the result of an optim fit

...

optional arguments (for generic compatibility)

Details

extracts par and -val respectively

Value

coefficients or value

Note

mle is not flexible enough to take vectors as inputs ...


mixstock documentation built on May 2, 2019, 6:48 p.m.