dffm.MSEplot | R Documentation |
A function that produces a 3D-plot of the mean squared errors from the dffm.criterion function. For more information about the mse, see the fts.criterion function.
dffm.MSEplot(criterion, kmax, pmax, rotate = NULL, cex.main = NULL, ...)
criterion |
Must be an output of the fts.criterion function. |
kmax |
A parameter specifying the maximum number of factors used in the 3D plot. |
pmax |
A parameter specifying the maximum number lags used in the 3D plot. |
rotate |
Parameter to change the horizontal rotation of the 3D plot. If NULL rotate will be set to 120. NULL is default. |
cex.main |
Parameter to change the font size of the headline. If NULL cex.main will be set to 1.2. NULL is default. |
... |
Option to change parameters in surf3D(). |
A 3D plot of the mse errors from the dffm.criterion function.
# with dffm.criterion
JKV = load.JKV()
JKV.fda = fda.preprocess(data = JKV)
dffm.MSEplot(fts.criterion(JKV.fda, p.max = 8), kmax = 15, pmax = 8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.