visualize: Plot PCA results

Description Usage Arguments PCA CA Author(s) See Also

View source: R/AllGenerics.R

Description

Visualize multivariate exploratory data analysis results.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
visualize(x, ...)

## S3 method for class 'PCA'
visualize(
  x,
  axes = c(1, 2),
  map = c("individuals", "variables", "eigenvalues"),
  extra = NULL,
  select = NULL,
  group = NULL,
  ...
)

Arguments

x

An object of class PCA or CA.

...

Further arguments passed to other methods.

axes

A length-two numeric vector specifying the components to plot.

map

A character string or vector of strings specifying the graph to plot (see below). Any unambiguous substring can be given.

extra

A string or vector of character strings specifiying the supplementary data to plot (see below). Any unambiguous substring can be given. If NULL (default) no extra information is plotted.

select

A numeric or character vector specifying a part of the elements that are drawn (see details in PCA and CA). If NULL (default) no selection is made.

group

A character vector of categories or a length-one numeric vector specifiying the supplementary categorial variable from which to color the individuals. The elements are coerced to characters by as.character.

PCA

map should be one of the following:

individuals

Plots individuals factor map along the specified axes.

variables

Plots variables factor map along the specified axes.

eigenvalues

Plots eigenvalues and the cumulative percentage of variance.

extra should be one or more of the following:

individuals

Add supplementary individuals.

qualitative

Add supplementary categories.

quantitative

Add supplementary continuous variables.

CA

map should be one or more of the following:

rows

Plots rows along the specified axes.

columns

Plots columns along the specified axes.

extra should be one or more of the following:

rows

Add supplementary rows.

columns

Add supplementary columns.

qualitative

Add supplementary categories.

quantitative

Add supplementary continuous variables.

Author(s)

N. Frerebeau

See Also

PCA, CA


nfrerebeau/archeosciences2019 documentation built on May 14, 2021, 11:04 p.m.