spreadAmount: Returns column names of specified class

Description Usage Arguments Details Value

Description

Returns column names of specified class

Usage

1
spreadAmount(id, amount, from, to, by = "1 day")

Arguments

id

identificator

amount

amount to be spread in time

from

starting date of period in which amount will be spread

to

ending date of period

by

increment of the sequence. Optional. See ‘Details’.

Details

by can be specified in several ways. - A number, taken to be in days. - A object of class difftime - A character string, containing one of "day", "week", "month", "quarter" or "year". This can optionally be preceded by a (positive or negative) integer and a space, or followed by "s". See seq.POSIXt for the details of "month".

Value

data.frame of values spreaded in time, with associated identificators


gogonzo/oddsandsods documentation built on May 12, 2019, 1:35 a.m.