est.sort: Sort a data/catalog pair

Description Usage Arguments Value Author(s) See Also

View source: R/est.sort.R

Description

Given a collection of data/catalog pairs, this function orders them by the start time.
Sorts by start(collection$data[[k]]), provided that the member data is of class ts.

Usage

1
est.sort(collection, ascending = T, by.year.only = F)

Arguments

collection

A list of class Catalog objects.

ascending

Boolean value indicating wheather it is ordered by earliest or latest starting station.

by.year.only

Use only the year to sort instead of year/month. Defaults to FALSE.

Value

Returns a sorted list of class Catalog, sorted by start date of the objects in collection$data.

Author(s)

A.M. Sajo-Castelli

See Also

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


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