Learn R Programming

fcr (version 1.0)

plot.fcr: Plotting an fcr model fit

Description

Plot method for fcr. Takes a fitted fcr object and plots either the features of the covariance function, or the smooth terms and qqplots for random effects. See plot.gam for further details.

Usage

# S3 method for fcr
plot(x, plot.covariance = FALSE, ...)

Arguments

x

object of class fcr.

plot.covariance

logical argument, indicates whether to plot features of the covariance function (correlation function, variance function, and eigenfunctions of the covariance function). If FALSE, will call plot.gam on the fitted gam/bam object. See plot.gam for additional details. Defaults to FALSE.

...

additional arguments to be passed to plot.gam.

Value

If plot.covariance is FALSE, this function will silently return a list fo the data used to create the plots.

Examples

Run this code
# NOT RUN {
## see examples in fcr

# }

Run the code above in your browser using DataLab