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: graphic
See also: fdamean plotfd grfd evalfd data2fd

Quantlet: grfdacorr
Description: creates a graphical object with corr surface

Usage: fdavar = grfdacorr(fdobject,evalarg,col)
Input:
fdobject list, functional (fd) object with n replications
evalarg m x 1 matrix for evaluation
col scalar, color
Output:
gs graphical object with correlation surface

Example:
library("graphic")
library("fda")
y = read("dailtemp.dat")
tvec=#(1:365)/365
fdb = createfdbasis("fourier", #(0,1),31,1)
fdtempf31=data2fd(y,tvec,fdb)
fdacovf=grfdacorr(fdtempf31,grid(0,1/30,29))
plot3d(3,fdacovf)
setgopt(plot3disp,1,1,"title","Correlation Surface")

Result:
The corr surface for temperature dataset is plotted, using 31 Fourier functions



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