plot_pca,aquap_cube-method | R Documentation |
Plot PCA scoresplots and / or loadings.
## S4 method for signature 'aquap_cube'
plot_pca(object, ...)
## S4 method for signature 'aquap_data'
plot_pca(object, ...)
object |
An object of class "aquap_cube" (as produced by
|
... |
Optional pca plotting parameters to override the values in the
analysis procedure and of the arguments listed below - for possible arguments
see
|
By providing either an object of class "aquap_cube" or of class
"aqua_data" to the argument object
, you can plot either the pca-modells
of the complete cube, or calculate and plot the pca-modell of a single dataset.
By providing one or more of the ...
arguments you can override the
plotting values in the selected analysis procedure, see below.
The width and height of the resulting pdf can be set in the settings.
A pdf or graphic device.
getcd
Other Plot functions:
plot,aquap_cube,missing-method
,
plot,aquap_data,missing-method
,
plot_aqg()
,
plot_classifX_indepPred()
,
plot_da,aquap_cube-method
,
plot_nnet,aquap_cube-method
,
plot_pls,aquap_cube-method
,
plot_pls_indepPred()
,
plot_rnf,aquap_cube-method
,
plot_simca,aquap_cube-method
,
plot_svm,aquap_cube-method
Other PCA documentation:
calc_pca_args
,
plot_pca_args
## Not run:
dataset <- gfd()
cube <- gdmm(dataset)
plot(cube)
plot_pca(cube)
plot_pca(cube, ld.bandwidth=12) # for detecting more peaks
plot_pca(cube, ld.adLines=FALSE) # no additional lines in the loading plot
plot_pca(cube, ld.adLines=c(2, 4) # only vertical lines and WAMACs in the
# loading plot
plot_pca(cube, ld.col=c("red", "blue", "green"))
plot_pca(cube, ld.lty=c(1,2))
###
plot_pca(cube, aps="cube") # to take the analysis procedure from the cube
plot_pca(cube, aps="myAnproc.r") # take a custom analysis procedure file
###
fd <- gfd()
plot_pca(fd, pg.where="")
plot_pca(fd, pg.where="", pca.colorBy="C_Group") # assumes existence of "C_Group"
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.