MaskPredictors: Masks normalized predictors from downstream analysis, either...

View source: R/puddlr.R

MaskPredictorsR Documentation

Masks normalized predictors from downstream analysis, either by a character vector of predictor names, or a boolean vector where TRUE indicates that a predictor should be masked. Masking predictors will remove all dimensionality reductions from a puddlr object, and these will need to be re-computed if required.

Description

Masks normalized predictors from downstream analysis, either by a character vector of predictor names, or a boolean vector where TRUE indicates that a predictor should be masked. Masking predictors will remove all dimensionality reductions from a puddlr object, and these will need to be re-computed if required.

Usage

MaskPredictors(puddlr, predictors.to.keep)

Arguments

puddlr

A puddlr object to calculate dispersion of predictors

predictors.to.keep

either a character vevtor or boolean vector containing which predictors to keep. Indexed from the "predictors" attribute

Value

A puddlr object with predictors masked. The "raw.predictors" attribute will remain unchanged.


rahuldhodapkar/puddlr documentation built on May 28, 2022, 12:53 p.m.