Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

loadingsplotXY

loadings plot of X and Y


Description

plots of variables (loadings)

Usage

loadingsplotXY(
  X,
  Y,
  axes = c(1, 2),
  INERTIE = NULL,
  cex = NULL,
  font.lab = NULL
)

Arguments

X

common loadingsassociated with X

Y

common loadingsassociated with Y

axes

a vector of two selected components

INERTIE

if there is information about inertia

cex

character expansion for text by default .85

font.lab

type of font by default 3

Value

loadings plot

Examples

data(oliveoil)
DataX = oliveoil[,2:6]
DataY = oliveoil[,7:12]
Group = as.factor(oliveoil[,1])
res.mgPLS = mgPLS (DataX, DataY, Group)
X=res.mgPLS$loadings.commo$X; Y=res.mgPLS$loadings.commo$Y
loadingsplotXY(X, Y, axes=c(1,2), INERTIE=res.mgPLS$noncumper.inertiglobal)

multigroup

Multigroup Data Analysis

v0.4.5
GPL-3
Authors
Aida Eslami, El Mostafa Qannari, Stephanie Bougeard, Gaston Sanchez Questions and comments go to Aida Eslami <aida.eslami@yahoo.fr> and Stephanie Bougeard <stephanie.bougeard@anses.fr>
Initial release
2020-02-10

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.