Compare rates and return descriptive comparison
compare_rates.RdCompares two rates and returns a text description of their relationship.
Arguments
- ind
String, indicator name
- var
String, variant name
- rate_data
data.table containing the provider rate
- comparison_value
Either a data.table with comparison rates or a single numeric value
- rate_type
String, column name for the rate in rate_data (default: "mean_cmar")
- digits
Integer, number of decimal places for comparison (default: 1)