break_apart_cis: Break Apart CIs

View source: R/break_apart_cis.R

break_apart_cisR Documentation

Break Apart CIs

Description

Helper function to facilitate reformatting results from healthyr::analyse_survey_results so they can be more easily used to plot results. It is intended to be called within several of the healthyr plotting functions, and not genererally used directly.

Usage

break_apart_cis(df, result_cols)

Arguments

df

Inputs a dataframe that has been returned from healthyr::analyse_survey_results.

result_cols

Inputs a character vector of the results column names.

Value

Returns a dataframe that has reshaped long

Examples

## Not run: break_apart_cis(df, result_cols = c("result_col1", "result_col2", ...))

SaeedR1987/healthyr documentation built on July 4, 2023, 11:17 p.m.