remove.incomplete.years.list: Remove incomplete years

View source: R/ts.R

remove.incomplete.years.listR Documentation

Remove incomplete years

Description

Removes all years, which contain either a NA or are incomplete (derived from the amount of time stamps within a year).

Usage

## S3 method for class 'list'
remove.incomplete.years(x, time.unit = 1,
  mc.cores = NULL)

Arguments

x

A list of xts class objects.

time.unit

Basic time unit in days. Default = 1.

mc.cores

A numerical input specifying the number of cores to use for the multi core application of the function (see detectCores). This functionality is only available if the input is a list of different objects. If NULL, the function will be calculated classically with only one core. Default = NULL.

Details

Since incomplete years are detected via the difference in the time stamps of neighbouring points, the user has to provide the basic time unit. (Numerical value of the result of the diff function applied to two consecutive points.) For daily data the value is 1.

Value

Object of the same class as the input x.

Author(s)

Philipp Mueller

See Also

remove.seasonality

Other ts: aic.climex.fit.gev, aic.climex.fit.gpd, aic.list, aic, anomalies.list, anomalies.xts, anomalies, bic.climex.fit.gev, bic.climex.fit.gpd, bic.list, bic, check.completeness, remove.incomplete.years.xts, remove.incomplete.years, remove.seasonality.list, remove.seasonality.xts, remove.seasonality


theGreatWhiteShark/climex documentation built on July 13, 2022, 9:11 a.m.