funnel_text: Create text for Funnel Plot outliers

View source: R/funnel_text.R

funnel_textR Documentation

Create text for Funnel Plot outliers

Description

The publication summary documents for the HSMR publication has main points relating to outliers on the funnel plot. The funnel_text function identifies outlying hospitals and returns the text for the publication document.

Usage

funnel_text(smr_data, indicator = c("above", "below"))

Arguments

smr_data

Should the finaltibble output from the smr_data function.

indicator

indicates whether the function produces text for hospitals sitting above the upper control limit or hospitals sitting below the lower control limit.

Examples

funnel_text(smr_data, indicator = "above")
funnel_text(smr_data, indicator = "below")


NHS-NSS-transforming-publications/hsmr documentation built on June 30, 2024, 11:48 a.m.