Learn R Programming

SparseBiplots (version 4.0.1)

HJBiplot: HJ Biplot

Description

This function performs the representation of HJ Biplot (Galindo, 1986).

Usage

HJBiplot (X, Transform.Data = 'scale')

Arguments

X

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

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".

Value

HJBiplot returns a list containing the following components:

eigenvalues

array_like; vector with the eigenvalues.

explvar

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

loadings

array_like; the loadings of the principal components.

coord_ind

array_like; matrix with the coordinates of individuals.

coord_var

array_like; matrix with the coordinates of variables.

Details

Algorithm used to construct the HJ Biplot. The Biplot is obtained as result of the configuration of markers for individuals and markers for variables in a reference system defined by the factorial axes resulting from the Decomposition in Singular Values (DVS).

References

  • Gabriel, K. R. (1971). The Biplot graphic display of matrices with applications to principal components analysis. Biometrika, 58(3), 453-467.

  • Galindo, M. P. (1986). Una alternativa de representacion simultanea: HJ-Biplot. Questiio, 10(1), 13-23.

See Also

Plot_Biplot

Examples

Run this code
# NOT RUN {
 HJBiplot(mtcars)

# }

Run the code above in your browser using DataLab