mstbl: Measure Table Clean Up.

mstblR Documentation

Measure Table Clean Up.

Description

Clean

Usage

mstbl(x, cutoff = 100)

Arguments

x

A data frame containing measure scores and their correponding denominators. Each column is a measure or denominator.

cutoff

The cutoff. The measure is removed if the number of hospital reported in the measure is less than the cutoff.

Value

A list containing four data frames:

  • msdtbl: measure score and denominator table.

  • mstbl_std: winsorized and standized measure score table.

  • wtbl: weight table.

  • report indicator: 1 means the star will be report for the corresponding hospital and 0 means no star is reported for the corresponding hospital.


huangrh/rstarating documentation built on March 28, 2022, 6:44 p.m.