est.rm: Removes stations from a collection of class 'Catalog'

Description Usage Arguments Value Note Author(s) See Also

View source: R/est.rm.R

Description

Given a list of indexes (list), this function removes stations from a collection of data/catalog pair.

Usage

1
est.rm(collection, list)

Arguments

collection

A list of class Catalog.

list

A vector of scalars indicating the stations to remove. The elements of this vector must be between 1 and length(collection$data).

Value

Returns a list of class Catalog with the updated collection.

Note

By specifying a negative list of elements, it is possible to select only those stations:

1
2
3
4
# Remove first 3 stations:
col <- est.rm(collection, list=1:3)
# Select only the first 3 stations:
col <- est.rm(collection, list=-(1:3))

Author(s)

A.M. Sajo-Castelli

See Also

The other est.* family members: est.cut, est.fill, est.sort, est.union.


vetools documentation built on May 2, 2019, 10:15 a.m.