plot.RFPCA: Plot an RFPCA object

View source: R/plot.RFPCA.R

plot.RFPCAR Documentation

Plot an RFPCA object

Description

Plot an RFPCA object

Usage

## S3 method for class 'RFPCA'
plot(
  x,
  type = c("mu", "phi", "cov", "fitted", "raw"),
  K = 3,
  subset,
  inputData,
  dimNames,
  ...
)

Arguments

x

An RFPCA object

type

The type of plot to produce. 'mu', mean function; 'phi', eigenfunctions; 'cov', covariance function'; 'fitted', fitted trajectories; 'raw', raw observations

K

The number of components to use or plot

subset

A subset of subject IDs to plot

inputData

The input data (a list of Ly and Lt)

dimNames

An optional vector specifying the dimension names

...

Not used


CrossD/RFPCA documentation built on Aug. 24, 2023, 4:42 p.m.