policy_year_new {imaginator}R Documentation

Simulate a new policy year

Description

This will generate a data frame of policy data. This may be used to construct renewal and growth data frames for subsequent policy years.

Usage

policy_year_new(n, policy_year, exposure = 1, start_id = 1, additional_columns)

Arguments

n

The number of policies to generate

policy_year

Scalar integer indicating the policy year to generate

exposure

Vector of exposures

start_id

Integer of the first number in the policy ID sequence

additional_columns

A list of addtional column names and values

Details

Effective dates are uniformly distributed throughout the year.

When providing additional columns, each element of the list must be a scalar and be named.

Value

Data frame of policy data


[Package imaginator version 1.0.0 Index]