Learn R Programming

MRMR (version 0.1.4)

CreateEvaluationDates: Create triangle evaluation dates

Description

Triangle evaluation dates are established by adding development lags to the starting point of the origin periods.

Usage

CreateEvaluationDates(OriginPeriod, DevelopmentLag)

Arguments

OriginPeriod
A vector of interval objects
DevelopmentLag
A vector of period objects

Value

A vector of intervals

See Also

CreateDevelopmentLags, CreateOriginPeriods

Examples

Run this code
## Not run: 
# OriginStart = c(mdy("1/1/2000"), mdy("1/1/2000"), mdy("1/1/2001"))
# OriginEnd = c(mdy("12/31/2000"), mdy("12/31/2000"), mdy("12/31/2001"))
# OriginPeriod = CreateOriginPeriods(OriginStart, OriginEnd) 
# DevelopmentLag = c(months(12), months(24), months(12))
# 
# EvaluationDates = CreateEvaluationDates(OriginPeriod, DevelopmentLag)
# EvaluationDates
# ## End(Not run)

Run the code above in your browser using DataLab