
Subsetting Methods for Clifro Objects
Source:R/dataFrame.R
, R/cfStation.R
, R/cfDataList.R
, and 1 more
Extract.Rd
Operators acting on cfDataList
, cfDatatype
, cfStation
,
and dataFrame
objects.
Usage
# S4 method for dataFrame
[[(x, i)
# S4 method for dataFrame,ANY,ANY,ANY
[(x, i, j, drop)
# S4 method for dataFrame
$(x, name)
# S4 method for cfStation,ANY,ANY,ANY
[(x, i, j, drop = TRUE)
# S4 method for cfDataList,ANY,ANY,ANY
[(x, i, j)
# S4 method for cfDataList
[[(x, i)
# S4 method for cfDatatype,ANY,missing,missing
[(x, i, j, drop)
Arguments
- x
a clifro object
- i
indices specifying elements to extract. Indices are
numeric
orcharacter
vectors or empty (missing) orNULL
. Character vectors will be matched to the names of the object.- j
indices specifying elements to extract. Indices are
numeric
orcharacter
vectors or empty (missing) orNULL
. Character vectors will be matched to the names of the object.- drop
if
TRUE
, the result is coerced to the lowest possible dimension. Seedrop
for further details.- name
a literal character string. This is partially matched to the names of the object.
Details
These are methods for the generic operators for classes within clifro.
They are intended to give the user the familiar functionality of subsetting
data.frame
objects.