ndim {rexposome} | R 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)

[Package rexposome version 1.12.4 Index]