generate_transaction_dataset function

Generate a Transactions Dataset

Generate a Transactions Dataset

Generates a dataset of partial payment records that takes the same structure as test_transaction_dataset included in this package, with each row representing a unique payment.

generate_transaction_dataset(claims, adjust = FALSE)

Arguments

  • claims: an claims object containing all the simulated quantities, see claims.
  • adjust: if TRUE then the payment times will be forced to match with the maximum development period under consideration; default FALSE (which will produce out-of-bound payment times).

Returns

A dataframe that takes the same structure as test_transaction_dataset.

Examples

# this generates the built-in test_transaction_dataset transact_data <- generate_transaction_dataset(test_claims_object)

See Also

test_transaction_dataset

  • Maintainer: Melantha Wang
  • License: GPL-3
  • Last published: 2024-01-27