createxyLabels.gen: Creates 'x' and 'y' labels for ggplots2 scaterplots

createxyLabels.genR Documentation

Creates x and y labels for ggplots2 scaterplots

Description

createxyLabels.gen: creates x and y labels for ggplots2 scaterplots (e.g., correspondence analysis or principal component analysis) such as, for example, the plots created by createFactorMap. Compared to createxylabel, createxylabel.gen does not require the results from ExPosition.

Usage

createxyLabels.gen(
  x_axis = 1,
  y_axis = 2,
  lambda,
  tau,
  axisName = "Dimension "
)

Arguments

x_axis

the number of the x axis; default = 1.

y_axis

the number of the y axis; default = 2.

lambda

a vector of eigenvalues (should have as many entries as max(axis_1, axis_2)).

tau

a vector of percentage of explained variance (should have as many entries as max(axis_1, axis_2)).

axisName

the name for the axes (default = 'Dimension ').

Author(s)

Hervé Abdi


HerveAbdi/PTCA4CATA documentation built on July 17, 2022, 5:41 a.m.