GetScalesBiplot: Calculates the scales for the variables on a linear biplot

Description Usage Arguments Details Value Author(s)

Description

Calculates the scales for the variables on a linear prediction biplot. There are several types of scales and values that can be shown on the graphical representation. See details.

Usage

1
GetScalesBiplot(Biplot, nticks = 4, TypeScale = "Complete", ValuesScale = "Original")

Arguments

Biplot

Object of class PCA.Biplot.

nticks

Number of ticks for the biplot axes.

TypeScale

Type of scale to use : "Complete", "StdDev" or "BoxPlot".

ValuesScale

Values to show on the scale: "Original" or "Transformed".

Details

The function calculates the points on the biplot axes where the scales should be placed.

There are three types of scales when the transformations of the raw data are made by columns:

"Complete": Covers the whole range of the variable using the number of ticks specified in "nticks". A smaller number of points could be shown if some fall outside the range of the scatter.

"StdDev": The mean +/- 1, 2 and 3 times the standard deviation.A smaller number of points could be shown if some fall outside the range of the scatter.

"BoxPlot": Median, 25, 75 percentiles maximum and minimum values are shown. The extremes of the interquartile range are connected with a thicker line. A smaller number of points could be shown if some fall outside the range of the scatter.

There are two kinds of values that can be shown on the biplot axis:

"Original": The values before transformation. Only makes sense when the transformations are for each column.

"Transformed": The values after transformation, for example, after standardization.

Although the function is public, the end used will not normally use it.

Value

A list with the following components:

Ticks

A list containing the ticks for each variable.

Labels

A list containing the labels for each variable.

Author(s)

Jose Luis Vicente-Villardon


PERMANOVA documentation built on Sept. 6, 2021, 5:07 p.m.