getSamPerTable: getSamPerTable: get sampling periods table

Description Usage Arguments Value Author(s)

View source: R/getSamPerTable.R

Description

This function divides a time series in pieces with a single sampling period and either values or missing values. Internally, this function separates true missing values from missing values that are the result of the existence of different sampling periods in the time series. Note that KarsTS time series are regular; when a time series with different time steps is loaded, NAs are added to achieve regularity. It is used internally.

Usage

1
getSamPerTable(timSer, sampPer)

Arguments

timSer

The input time series

sampPer

A vector that contains the existing sampling periods.

Value

It returns a data frame listing all the pieces.

Author(s)

Marina Saez Andreu


KarsTS documentation built on Jan. 16, 2021, 5:07 p.m.