Subset by range {GCDkit}R Documentation

Select subset by range

Description

Selecting subsets of the data stored in memory by their range.

Details

The menu item 'Select subset by range' is connected to the function selectSubset. The search pattern is treated as a selection of sample sequence numbers (effectively a list separated by commas that may also contain ranges expressed by colons). The current data will be replaced by its newly chosen subset.

Value

Overwrites the data frame 'labels' and numeric matrix 'WR' by subset that fulfills the search criteria.

Author(s)

Vojtech Janousek, vojtech.janousek@geology.cz

Examples

## Not run: 
Search pattern = 1:5
# First to fifth samples in the data set

Search pattern = 1,10
# First and tenth samples

Search pattern = 1:5, 10:11, 25  
# Samples number 1, 2, ...5, 10, 11, 25

## End(Not run)

[Package GCDkit version 4.1 Index]