measure_manipulate: Measure Manipulation In The Input Data Frame For CMS Star...

View source: R/measure_randomize_manipulation.R

measure_manipulateR Documentation

Measure Manipulation In The Input Data Frame For CMS Star Ratings.

Description

randomize the measure or set the denominator to one.

Usage

measure_manipulate(dat, method = c("randomize", "den_one"), measures = NULL)

Arguments

dat

A input data frame for CMS star ratings.

method

A string to tell the manipulation method.

measures

A list of measures. This is used by randomize method only.

Value

A data frame for CMS Star Ratings.

See Also

measure_randomize for measure randomization, measure_den_one for the manipulation to set the denominator to one.


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