recompute_non_cahps_stars: Compute 2022 non-CAHPS measure-level star ratings

View source: R/cut_points.R

recompute_non_cahps_starsR Documentation

Compute 2022 non-CAHPS measure-level star ratings

Description

Compute 2022 non-CAHPS measure-level star ratings

Usage

recompute_non_cahps_stars(df22, df21, cutting_df = NULL, common_seed = NULL)

Arguments

df22

A dataframe of 2022 measure data, including the columns 'measure_id', 'measure_code', 'contract_id', 'stars' and 'value'

df21

A dataframe of 2022 measure data, including the columns 'measure_id', 'measure_code', 'contract_id' and 'stars'

cutting_df

A dataframe of the form output by 'make_cutting_df()'

common_seed

The integer to pass to 'set.seed()' before starting each mean resampling computation


jimurick/medicarestars documentation built on March 19, 2022, 5:35 a.m.