plotFd {fda}R Documentation

Plot a Functional Data Object


Functional data observations, or a derivative of them, are plotted. These may be either plotted simultaneously, as matplot does for multivariate data, or one by one with a mouse click to move from one plot to another. The function also accepts the other plot specification arguments that the regular plot does.


plotFd(fd, Lfd=0, matplt=TRUE, href=TRUE, nx=101, xlab=xlabel, ylab=ylabel, xlim=rangex, ylim=rangey, ...)


fd A functional data object.
Lfd Either a nonnegative integer or a linear differential operator object. If present, the derivative or the value of applying the operator is plotted rather than the functions themselves.
matplt A logical variable. If TRUE, the observations are all plotted simultaneously. If not, they are plotted one by one, with a mouse click to move to the next plot.
href A logical variable. If TRUE, a horizontal dotted line is plotted at zero.
nx The number of points to use to define the plot. The default is usually enough, but for a highly variable function more may be required.
xlab A label for the abscissa.
ylab A label for the ordinate.
xlim Axis limits for the abscissa.
ylim Axis limits for the ordinate.
... Additional arguments that can be used in all plotting programs.



A plot of the functional data. Note that for multivariate data, a suitable array must first be defined using the par function.




See Also

linesFd, plotfit.fd


[Package fda version 1.0 Index]