Constructs a covariates object which stores all covariate inputs. All covariates will be assumed discrete. Continuous covariates will have been discretized.
covariates(factors)
Arguments
factors: named list of vectors, containing the name of the covariates and associated factors in vector form.
Returns
Returns a covariates object.
Details
Creating a covariates object will provide template relativities for the frequency and severity relativities. It is encouraged to use the setter functions set.covariates_relativity to set these values to ensure that all necessary inputs are provided.