Extract: Subsetting Methods for Clifro Objects

Description Usage Arguments Details

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## S4 method for signature 'dataFrame'
x[[i]]

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

## S4 method for signature 'dataFrame'
x$name

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

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

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

## S4 method for signature '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.


clifro documentation built on May 24, 2021, 9:06 a.m.