This function performs the representation of HJ Biplot (Galindo, 1986).
HJBiplot (X, Transform.Data = 'scale')
array_like; A data frame which provides the data to be analyzed. All the variables must be numeric.
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".
HJBiplot
returns a list containing the following components:
array_like; vector with the eigenvalues.
array_like; an vector containing the proportion of variance explained by the first 1, 2,.,k principal components obtained.
array_like; the loadings of the principal components.
array_like; matrix with the coordinates of individuals.
array_like; matrix with the coordinates of variables.
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).
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.
# NOT RUN {
HJBiplot(mtcars)
# }
Run the code above in your browser using DataLab