Seq: Seq method for the S4 class RepoTimeInt

SeqR Documentation

Seq method for the S4 class RepoTimeInt

Description

Seq generates a list of objects of class RepoTimeInt ranging from the initial and final time interval arguments.

Usage

Seq(x, y, Rot = TRUE, RotPer = "12")

## S4 method for signature 'RepoTimeInt'
Seq(x, y, Rot = TRUE, RotPer = "12")

Arguments

x

Object of class RepoTimeInt with the initial time interval.

y

Object of class RepoTimeInt with the final time interval.

Rot

Logical vector of length 1 indicating whether periods with rotated samples are to be included in the sequence (default) or not.

RotPer

Character vector of length 1 with the numeric code of the time period containing both unrotated and rotated samples.

Value

A list of objects of class RepoTimeInt ranging from the initial time interval until the final time interval.

Examples

RepoPeriod1 <- newRepoTime('MM012015')
RepoPeriod2 <- newRepoTime('MM022016')
Seq(RepoPeriod1, RepoPeriod2)
 

david-salgado/RepoTime documentation built on Feb. 2, 2024, 2:07 p.m.