est.fill: For each member of a collection call the function...

Description Usage Arguments Details Value Author(s) See Also

View source: R/est.fill.R

Description

Given a list of class Catalog, it completes each station's data in such a manner that all stations either start or end at the same time. Missing values for each station are estimated by calling the function fill.small.missing.

Usage

1
est.fill(collection, cut = c(1968, 3), at.start = T)

Arguments

collection

A list of class Catalog with member data of class ts with frequency 365.25.

cut

A vector designating the (year, month) that all stations will start.

at.start

Boolean value indicating whether the stations data should be completed from the start or the end.

Details

The purpose of this function is to have a common start and/or end dates for a given collection of stations. Suppose there are three stations in a collection, with span

1
2
3
range(col$data[[1]]) -> c(1981,4) to c(2013,3)
range(col$data[[2]]) -> c(1981,2) to c(2013,4)
range(col$data[[3]]) -> c(1981,3) to c(2013,5)

and would like to have them all start on (1981,2) and end on (2013,5). This funcion can achieve this task.

Value

Returns a list of class Catalog with member data completed.

Author(s)

A.M. Sajo-Castelli

See Also

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


vetools documentation built on May 30, 2017, 1:27 a.m.