Learn R Programming

insurancerating (version 0.8.2)

as_gt.refinement_audit: Present a refinement audit as a gt table

Description

Format the risk-factor and level impact calculated by audit_refinement() for a technical note or actuarial review.

Usage

# S3 method for refinement_audit
as_gt(
  x,
  locale = "nl-NL",
  value_decimals = 2,
  ratio_decimals = 1,
  title = "Refinement impact",
  subtitle = NULL,
  ...
)

Value

A gt_tbl object.

Arguments

x

A refinement_audit object.

locale

Character string used for number formatting.

value_decimals

Non-negative whole number for fitted values and absolute changes.

ratio_decimals

Non-negative whole number for percentage changes.

title

Optional table title.

subtitle

Optional table subtitle. If NULL, package version and audit date are used.

...

Currently unused.

See Also

audit_refinement()