Learn R Programming

expstudies (version 0.0.5)

addDays: Create daily exposures

Description

This function takes a records file and creates a day for each day the policyholder is active

Usage

addDays(records, min_date = NULL, max_date = NULL)

Arguments

records

File containing a unique policy key with start and end dates.

min_date

Left truncation date.

max_date

Right truncation date.

Examples

Run this code
# NOT RUN {
addDays(records)
# }

Run the code above in your browser using DataLab