Library: | plot |
See also: | fdamean plotfd grfd evalfd data2fd |
Quantlet: | plotfdacorr | |
Description: | plots the corr surface of fdobject |
Usage: | plotfdacorr(evalarg,fdobject) | |
Input: | ||
fdobject | list, functional (fd) object with n replications | |
evalarg | m x 1 matrix for evaluation | |
col | scalar, color | |
plot3Ds | String, if string is = "3D" plot3D quantlet will be used |
library("plot") library("fda") y = read("dailtemp.dat") tvec=#(1:365)/365 fdb = createfdbasis("fourier", #(0,1),31,1) fdtempf31=data2fd(y,tvec,fdb) plotfdacorr(fdtempf31,grid(0,1/30,29),0,"3D")
The corr surface for temperature dataset is plotted, using 31 Fourier functions and plot3d ploting quantlet