term()
creates a Term object.
term(x, ...)
# S3 method for numeric
term(x, units = "days", ...)
# S3 method for Term
term(x, ...)
# S3 method for Date
term(x, end_date, calendar, ...)
can be a numeric value representing the time period, a Term object, or the initial date for a period between two dates.
additional arguments
one of the valid units
: days
, monts
,
years
.
the final date for a period between two dates.
the calendar used to compute the amount of days for a period between two dates.
A Term
object.