sub-.Covariate: title

[.CovariateR Documentation

title

Description

Overrides the subset operator x[] for use with Covariate to allow for vector like subsetting

Usage

## S3 method for class 'Covariate'
obj[range]

Arguments

obj

Covariate This is the Covariate to be subset

range

vector This is the range of Covariates to return, like subsetting a vector. e.g. c(1,2,3,4,5)[3:4] == c(3,4)

Value

A new Covariate object that contains only the Covs within the given range

Author(s)

Zoran Z. Gajic


mskilab/chromunity documentation built on April 12, 2024, 10:35 a.m.