MLZ_model-class: MLZ_model

MLZ_model-classR Documentation

MLZ_model

Description

An S4 class for storing model results. Method functions summary and plot are available for this class (see examples).

Slots

Stock

Name of stock (obtained from an object of class MLZ_data).

Model

Name of model used for mortality estimation.

time.series

A data frame summarizing observed time series data and predicted values from model.

estimates

A matrix of parameter estimates and derived values and their standard errors, from sdreport.

negLL

The negative log-likelihood from the model.

n.changepoint

The number of change points in the model.

n.species

The number of species/stocks in the model.

grid.search

A data frame reporting the log-likelihood values from a grid search over change points. See profile_ML, profile_MLCR, and profile_MLmulti.

obj

A list with components from MakeADFun.

opt

A list with components from calling optim to obj.

sdrep

A class sdreport list with components from calling sdreport to obj.

length.units

Unit of measurement for lengths, i.e. "cm" or "mm".

Examples

## Not run: 
data(Goosefish)
goose.model <- ML(Goosefish, ncp = 2, grid.search = FALSE, figure = FALSE)
class(goose.model)

summary(goose.model)
plot(goose.model, residuals = FALSE)

## End(Not run)

quang-huynh/MLZ documentation built on April 10, 2022, 7:39 p.m.