Learn R Programming

MLZ (version 0.1.1)

plot,MLZ_model-method: plot method for S4 class MLZ_model

Description

Plots time series of observed and predicted data from an object of class MLZ_model.

Usage

# S4 method for MLZ_model
plot(x, residuals = TRUE)

Arguments

x

An object of class MLZ_model.

residuals

logical; whether a plot of residuals will also be produced.

Examples

Run this code
# NOT RUN {
data(Goosefish)
goose.model <- ML(Goosefish, ncp = 2, grid.search = FALSE, figure = FALSE)
plot(goose.model)
# }

Run the code above in your browser using DataLab