subgroup: Prepare the subset of the data in a measure group for CMS...

Description Usage Arguments Value

View source: R/group_data.R

Description

Prepare the subset of the data table and weight table in each measure group in CMS Hospital Compare star rating. In addition, the hospital is removed if the hospital didn't report any data in the group.

Usage

1
subgroup(object, groups = NULL)

Arguments

object

A mstbl object,which contains the measure score table and weight table.

groups

A vector of group names. The default is null and it will automatically use all of the groups in the object.

Value

A list containing a sublist for each measure group. Each has a stadardized measure score table and a weight table.


huangrh/relvm documentation built on May 17, 2019, 9:10 p.m.