coef.toptim {mixstock}R Documentation

minimal structure for optim fits

Description

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

Usage

## 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 ...


[Package mixstock version 0.9 Index]