Ridge_HJBiplot: Ridge HJ Biplot

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/Ridge_HJBiplot.R

Description

This function performs the representation of the HJ Biplot applying the Ridge regularization, on the original data matrix, implementing the norm L2.

Usage

1
Ridge_HJBiplot (X, Lambda, Transform.Data = 'scale')

Arguments

X

array_like;
A data frame which provides the data to be analyzed. All the variables must be numeric.

Lambda

float;
Tuning parameter for the Ridge penalty

Transform.Data

character;
A value indicating whether the columns of X (variables) should be centered or scaled. Options are: "center" that removes the columns means and "scale" that removes the columns means and divide by its standard deviation. Default is "scale".

Details

Algorithm used to contract the loads of the main components towards zero, but without achieving the nullity of any. If the penalty parameter is less than or equal to 1e-4 the result is like Galindo's HJ Biplot (1986).

Value

Ridge_HJBiplot returns a list containing the following components:

eigenvalues

array_like;
vector with the eigenvalues penalized.

explvar

array_like;
an vector containing the proportion of variance explained by the first 1, 2,.,k sparse principal components obtained.

loadings

array_like;
penalized loadings, the loadings of the sparse principal components.

coord_ind

array_like;
matrix with the coordinates of individuals.

coord_var

array_like;
matrix with the coordinates of variables.

Author(s)

Mitzi Cubilla-Montilla, Carlos Torres-Cubilla, Ana Belen Nieto Librero and Purificacion Galindo Villardon

References

See Also

Plot_Biplot

Examples

1
 Ridge_HJBiplot(mtcars, Lambda = 0.2)

SparseBiplots documentation built on Oct. 24, 2021, 9:07 a.m.