subset.DataSet: S3 subset function for DataSet

View source: R/DataSet.R

subset.DataSetR Documentation

S3 subset function for DataSet

Description

Subset for DataSets. Based on the provided mask, the relevant data is taken from the given DataSet and turned into a new DataSet object.

Usage

## S3 method for class 'DataSet'
subset(x, mask, ...)

Arguments

x

The DataSet from which to get a subset

mask

The mask (as boolean list) to use when subsetting. The length should be equal to the number of runs present in the provided dataset object x.

...

Arguments passed to underlying subset method (not yet supported)

Value

A new DataSet

Examples

subset(dsl[[1]], c(0,1,1,1,0,0,0,0,0,0,0))

IOHanalyzer documentation built on Sept. 20, 2023, 5:07 p.m.