R/ExposomePCA-ndim.R

#' @describeIn ExposomePCA Number of principal components in an ExposomePCA.
setMethod(
    f = "ndim",
    signature="ExposomePCA",
    definition = function(object) {
        ncol(data.frame(object@pca$var$coord))
    }
)
isglobal-brge/rexposome documentation built on Feb. 4, 2023, 12:35 p.m.