hierarchical_clustering_cut_points: Compute cut points for a single non-CAHPS, pre-2022 measure...

View source: R/cut_points.R

hierarchical_clustering_cut_pointsR Documentation

Compute cut points for a single non-CAHPS, pre-2022 measure with Hierarchical Clustering

Description

Compute cut points for a single non-CAHPS, pre-2022 measure with Hierarchical Clustering

Usage

hierarchical_clustering_cut_points(value_vec, higher_is_better)

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

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.