Learn R Programming

KarsTS (version 2.4.1)

groupDates: groupDates: groups dates

Description

This function transforms the output of the function groupIndices from indices to dates.It is used internally.

Usage

groupDates(rawIndices, TimSer)

Arguments

rawIndices

The indices

TimSer

The time series to which the indices belong.

Examples

Run this code
# NOT RUN {
X <- sort(sample(1:50,25))
TS <- genTSExample(InKTSEnv = FALSE)
groupIndices(X)
groupDates(X, TS)

# }

Run the code above in your browser using DataLab