Skip to contents

Operators acting on cfDataList, cfDatatype, cfStation, and dataFrame objects.

Usage

# S4 method for class 'dataFrame'
x[[i]]

# S4 method for class 'dataFrame,ANY,ANY,ANY'
x[i, j, drop]

# S4 method for class 'dataFrame'
x$name

# S4 method for class 'cfStation,ANY,ANY,ANY'
x[i, j, drop = TRUE]

# S4 method for class 'cfDataList,ANY,ANY,ANY'
x[i, j]

# S4 method for class 'cfDataList'
x[[i]]

# S4 method for class 'cfDatatype,ANY,missing,missing'
x[i, j, drop]

Arguments

x

a clifro object

i

indices specifying elements to extract. Indices are numeric or character vectors or empty (missing) or NULL. Character vectors will be matched to the names of the object.

j

indices specifying elements to extract. Indices are numeric or character vectors or empty (missing) or NULL. Character vectors will be matched to the names of the object.

drop

if TRUE, the result is coerced to the lowest possible dimension. See drop 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.