ndim-methods: Number of principal components in an ExposomePCA.

ndimR Documentation

Number of principal components in an ExposomePCA.

Description

Number of principal components in an ExposomePCA.

Usage

ndim(object)

Arguments

object

ExposomePCA to obtain the number of components.

Value

The number of components in the ExposomePCA.

See Also

plotPCA to plot the PCA values of an ExposomePCA, clustering to see how the exposures can cluster samples, correlation to compute the correlation between exposures

Examples

data("exposome")
epca <- pca(expo[3:7, 1:100])
ndim(epca)

isglobal-brge/rexposome documentation built on Feb. 4, 2023, 12:35 p.m.