modSample: Sample Features from Data

Description Usage Arguments Value

Description

modSample samples features from a data set randomly without replacement. When size = 0, this is equivalent to fsSample, top = 0, but much quicker.

Usage

1
modSample(object, size = 0)

Arguments

object

An ExprsArray object to undergo pre-processing.

size

A numeric scalar. The number of randomly sampled features to include in the pre-processed ExprsArray object.

Value

A pre-processed ExprsArray object.


exprso documentation built on May 1, 2019, 7:11 p.m.