covariates_data function

Construction of a covariates_data Object

Construction of a covariates_data Object

Constructs a covariates_data object which stores the dataset of known covariate levels of each factor.

covariates_data(covariates, data, covariates_id = NULL)

Arguments

  • covariates: a covariates object
  • data: a dataset of covariate values, with columns equal to each of the covariate factors and rows related to individual claim observations.
  • covariates_id: optional list of list of ids, in the same format as a claim_size output. Also see to_SynthETIC. Defaults to NULL.

Returns

Returns a covariates_data object.

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