Learn R Programming

clifro (version 3.2-5)

[[,dataFrame-method: Subsetting Methods for Clifro Objects

Description

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 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.