subset: Extract or Replace Parts of an Object

subsetR Documentation

Extract or Replace Parts of an Object

Description

Operators acting on objects to extract or replace parts.

Usage

## S4 method for signature 'GammaSpectrum'
x[[i]]

## S4 method for signature 'GammaSpectra'
x[i, j]

## S4 method for signature 'DoseRateModel'
x[[i]]

## S4 method for signature 'CalibrationCurve'
x[[i]]

## S4 method for signature 'PeakPosition'
x[[i]]

Arguments

x

An object from which to extract element(s) or in which to replace element(s).

i, j

Indices specifying elements to extract or replace. Indices are numeric, integer or character vectors or empty (missing) or NULL. Numeric values are coerced to integer as by as.integer() (and hence truncated towards zero). Character vectors will be matched to the name of the elements. An empty index (a comma separated blank) indicates that all entries in that dimension are selected.

Value

A subsetted object.

Author(s)

N. Frerebeau

See Also

Other mutator: mutator


nfrerebeau/gamma documentation built on April 14, 2024, 7:26 a.m.