mean_resampling_cut_points: Compute cut points for a single non-CAHPS measure for star...

View source: R/cut_points.R

mean_resampling_cut_pointsR Documentation

Compute cut points for a single non-CAHPS measure for star year 2022

Description

Compute cut points for a single non-CAHPS measure for star year 2022

Usage

mean_resampling_cut_points(value_vec, higher_is_better, seed = NULL)

Arguments

value_vec

A vector of all health plans' measure values for a given measure and year

higher_is_better

TRUE if higher measure values mean higher star ratings, and FALSE otherwise

seed

An optional integer passed to 'set.seed()' before creating the 10 folds partitioning 'value_vec'

Value

A dataframe with two columns: an integer star rating in 'stars', and a float cut-off measure value for that star rating in 'cut_point'


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