demo/rating_example.R

library(ratingtables)
ex <- example_rating_plan()
res <- rate_policies_with_trace(ex$policies, ex$plan)
print(res$rated_data)
print(trace_to_excel_style(res$term_trace))

Try the ratingtables package in your browser

Any scripts or data that you put into this service are public.

ratingtables documentation built on Sept. 6, 2026, 1:06 a.m.