Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: plot
See also: evalfd grfd data2fd grpcp setmaskl data2fd

Quantlet: plotfd
Description: plots the functional object fd

Usage: gfd = plotfd(fd,evalarg,Lfd,col,art,thick)
Input:
fd list, functional (fd) object
evalarg n x 1, vector, n must equal rows(fd.ccoef)
Lfd list, scalar or vector of integers which indicate the order of derivatives. In the case of an LDO with constant coefficients Lfd must be a (r x 2) matrix, where the first column contains the coefficients, the second one the orders of derivatives. If you want to apply an LDO with variable coefficients Lfd must be an LDO object.
col color, parameter for setmaskl, default is 0
art art type, parameter for setmaskl, default is 1
thick art type, parameter for setmaskl, default is 2

Example:
library("plot")
library("fda")
y = read("dailtemp.dat")
tvec=#(1:365)/365
fdb = createfdbasis("fourier", #(0,1),31,1)
fdtempf31=data2fd(y,tvec,fdb)
plotfd(fdtempf31)

Result:
estimated temperature functions are displayed



Author: M. Benko 20040831 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006