Compute PCA of 'x' with 'k' dimensions.
pca(object, k = 3, convert = TRUE)
object
an object to apply PCA
k
number of dimensions
convert
to R matrix
tensor