ggplot function

ggplot Graphics for Functional Data Objects

ggplot Graphics for Functional Data Objects

This function is deprecated. Use autoplot.funData / autolayer.funData for funData objects, autoplot.multiFunData for multiFunData objects and autoplot.irregFunData / autolayer.irregFunData for irregFunData objects instead.

ggplot(data, ...) ## S4 method for signature 'funData' ggplot(data, add = FALSE, ...) ## S4 method for signature 'multiFunData' ggplot(data, ...) ## S4 method for signature 'irregFunData' ggplot(data, add = FALSE, ...)

Arguments

  • data: A funData, multiFunData or irregFunData object.
  • ...: Further parameters passed to the class-specific methods.
  • add: Logical. If TRUE, add to current plot (only for one-dimensional functions). Defaults to FALSE.

Returns

A ggplot object

Details

In the default case, this function calls ggplot (if available).

See Also

ggplot, autoplot, autolayer

from package ggplot2