Description Usage Arguments Value Examples
View source: R/DataScienceLab2.R
The function drgplot makes a boxplot for either the average Medicare payments, the average total payment, or the average covered charges by DRG code.
1 |
df |
a dataframe, use the dataset in the package drgdata2 |
a |
a string name for the payment variable in the datafram. Choose from Average Medicare payments, Average Total Payment, or Average Covered Charges |
drgplot returns a boxlpot of one of the payment variables by DRG
1 | drgplot(drgdata2, "Average Total Payments")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.