get_lambda: Calculate lambda (biplot)

Description Usage Arguments

View source: R/get_lambda.R

Description

Calculate the lambda factor to scale biplot dimensions. The code is a snippet of biplot.princomp).

Usage

1
get_lambda(sdev, n.obs, dimensions = 2, scale = 1, pc.biplot = FALSE)

Arguments

sdev

Data frame containing the stardand deviations along n dimensions

n.obs

number of observations (rows) in the original data

dimensions

The number of dimensions

scale

Numeric, the value defining the degree in which distances between observations have priority over distances between variables (0 = observation-focused, 1 = variable-focused). It corresponds to the argument scale in biplot.princomp.

pc.biplot

Character, indicating the type of biplot transformation of data: "default" and "pc.biplot", corresponding to the transformations performed in biplot.princomp with pc.biplot = FALSE ("default") and pc.biplot = TRUE ("pc.biplot"). If NULL, no processing is performed, assuming that data within ordination_object was previously transformed.


Andros-Spica/biplot2d3d documentation built on June 10, 2020, 1:38 p.m.