tb-methods: Constructor for class 'timeBuckets'.

timeBucketsR Documentation

Constructor for class timeBuckets.

Description

S4 class that contains cash flows occuring durring the time intervals defined by an timeBuckets object.

The labels have the form "from

Usage

timeBuckets(by, bucketLabs = NULL, breakLabs = NULL, ...)

## S4 method for signature 'timeBuckets'
length(x)

cfStream(buckets, currency = "None", data)

periodNames(by, format = "%d.%m.%y", sep = "-")

aDates2tDates(char)

Arguments

by

character vector of dates.

bucketLabs

Chararacter vector containing the labels of the time buckets.

breakLabs

Chracter vector containing the labels of the break points.

x

Object of class timeBuckets.

buckets

timeBuckets object containing the time intervals.

currency

character with currency code.

data

Cash flow data. Can be numeric, integer, or data.frame.

format

character containing the formatting information for the "from" and "to" part of the output.

sep

Separator of "from" and "to" part of output.

char

Character string in ACTUS time format.

Details

This class extend data.frame.

Value

Object of class timeBuckets.

integer containing the number of time intervals in x.

cfStream object.

character vector with labels.

timeDate object.

Slots

partition

timeBuckets object.

currency

character with currency code.


wbreymann/FEMS documentation built on Dec. 8, 2022, 9:43 a.m.