powered by
Subset for DataSets. Based on the provided mask, the relevant data is taken from the given DataSet and turned into a new DataSet object.
# S3 method for DataSet subset(x, mask, ...)
A new DataSet
The DataSet from which to get a subset
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)
subset(dsl[[1]], c(0,1,1,1,0,0,0,0,0,0,0))
Run the code above in your browser using DataLab