FDA(X, fact, new.data = NULL, new.fact = NULL, prior = NULL,
cross.val = FALSE, graph = TRUE)new.fact is not null, which formed the test sample.new.dat is not null, a factor specifying the class for each observation of the test sample.new.dat) are used.plot.FDA, print.FDAdata(wine)
res.fda <- FDA(wine[,-(1:28)], fact=wine[,1])Run the code above in your browser using DataLab