check.completeness.xts: Checking for N complete years of data

check.completeness.xtsR Documentation

Checking for N complete years of data

Description

This function tests whether a xts class object has at least number.of.years complete years of data.

Usage

## S3 method for class 'xts'
check.completeness(x, number.of.years = 30,
  mc.cores = NULL)

Arguments

x

A time series of class xts.

number.of.years

The minimum number of complete years in the series. Default = 30.

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

It uses the remove.incomplete.years to check for the completeness of the individual years.

Value

Logical

Author(s)

Philipp Mueller


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