payment_boxplot: Payment Box Plot

View source: R/payment_boxplot.R

payment_boxplotR Documentation

Payment Box Plot

Description

This function produces a box plot of payments by DRG code.

Usage

payment_boxplot(df, payment)

Arguments

df

a dataframe of data from Centers for Medicare & Medical Services. This dataframe must contain DRG codes and payments data. And the column names of these variables should be "DRG.Definition", "Average.Covered.Charges", "Average.Total.Payments" and "Average.Medicare.Payments".

payment

a character string specifying the type of payment, must be one of "Average.Covered.Charges", "Average.Total.Payments" or "Average.Medicare.Payments".

Value

A box plot of payments by DRG Codes.

Examples

data(sample_data)

payment_boxplot(drg_data,"Average.Covered.Charges")


yinglia/A-Simple-R-Package documentation built on April 17, 2022, 12:08 a.m.