policy_year_new: Simulate a new policy year

Description Usage Arguments Details Value

View source: R/SimulatePolicies.R

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

1
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


PirateGrunt/imaginator documentation built on Jan. 15, 2022, 12:39 a.m.