View source: R/break_apart_cis.R
break_apart_cis | R Documentation |
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.
break_apart_cis(df, result_cols)
df |
Inputs a dataframe that has been returned from healthyr::analyse_survey_results. |
result_cols |
Inputs a character vector of the results column names. |
Returns a dataframe that has reshaped long
## Not run: break_apart_cis(df, result_cols = c("result_col1", "result_col2", ...))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.