Learn R Programming

provenance (version 1.3)

subset.distributional: Get a subset of distributional data

Description

Return a subset of provenance data according to some specified indices

Usage

## S3 method for class 'distributional':
subset(x, subset = NULL, select = NULL, ...)

Arguments

x
an object of class distributional
subset
logical expression indicating elements or rows to keep: missing values are taken as false.
select
a vector of sample names
...
optional arguments for the generic subset function

Value

  • an object of class distributional

See Also

read.distributional

Examples

Run this code
data(Namib)
coast <- subset(Namib$HM,select=c("N1","N2","T8","T13","N12","N13"))
summaryplot(coast,ncol=2)

Run the code above in your browser using DataLab