WH.plot_multiple_Spanish.funs: Plotting Spanish fun plots for Multiple factor analysis of...

View source: R/principal_components.R

WH.plot_multiple_Spanish.funsR Documentation

Plotting Spanish fun plots for Multiple factor analysis of Histogram Variables

Description

The function plots the circle of correlation of the quantiles of the histogrma variables after a Multiple factor analysis.

Usage

WH.plot_multiple_Spanish.funs(
  res,
  axes = c(1, 2),
  var = 1,
  LABS = TRUE,
  multi = TRUE,
  corplot = TRUE
)

Arguments

res

Results from WH.MultiplePCA, or WH.1D.PCA.

axes

A list of integers, the new factorial axes c(1,2) are the default.

var

A list of integers are the variables to plot.

LABS

Logical, if TRUE graph is labeled, otherwise it does not.

multi

Logical, if TRUE (default) results come from a WH.MultiplePCA, if FALSE results come from WH.1D.PCA.

corplot

Logical, if TRUE (default) the plot reports correlations, if FALSE the coordinates of quantiles on the factorial plane

Value

a plot of class ggplot

Examples

# Do a MultiplePCA on the BLOOD dataset
## Not run: 
res <- WH.MultiplePCA(BLOOD, list.of.vars = c(1:3))

## End(Not run)
# Plot results
## Not run: 
WH.plot_multiple_Spanish.funs(res, axes = c(1, 2), var = c(1:3))

## End(Not run)

HistDAWass documentation built on Sept. 26, 2022, 5:06 p.m.