Length: Length of an object of class RepoTimeInt

LengthR Documentation

Length of an object of class RepoTimeInt

Description

Length gives the number of time intervals contained in an object of class RepoTimeInt.

Usage

Length(x)

## S4 method for signature 'RepoTimeInt'
Length(x)

Arguments

x

Object of class RepoTimeInt

Value

A non-negative integer.

Examples

RepoPeriod1 <- newRepoTime('MM012015')
Length(RepoPeriod1)

RepoPeriod2 <- newRepoTime(c('MM012015', 'MM022015'))
Length(RepoPeriod2)

 

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