pc_plot | R Documentation |
This function plots the PC values with the appropriate axis and percentage values on the labels.
pc_plot(pca, pc, n = c(1, 2))
pca |
list containing the vertical modes used (computed with the function |
pc |
The principal components of the profiles (computed with the function |
n |
vector of the PC to plot, it can be of length 2 or 3. Default is n = c(1,2) |
Plot the main PC with their corresponding variance on the axis labels.
#' @author Etienne Pauthenet <etienne.pauthenet@gmail.com>, David Nerini <david.nerini@univ-amu.fr>
, Fabien Roquet <fabien.roquet@gu.se>
Pauthenet et al. (2017) A linear decomposition of the Southern Ocean thermohaline structure. Journal of Physical Oceanography, http://dx.doi.org/10.1175/JPO-D-16-0083.1
Ramsay, J. O., and B. W. Silverman, 2005: Functional Data Analysis. 2nd Edition Springer, 426 pp., Isbn : 038740080X.
bspl
for bsplines fit on T-S profiles, fpca
for functional principal component analysis of T-S profiles, proj
for computing Principal Components, reco
for reconstructing profiles with less modes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.