prep_cat_prop_plot_docx {saros}R Documentation

Create Categorical Data Chart from Summarized Data

Description

Create Categorical Data Chart from Summarized Data

Usage

prep_cat_prop_plot_docx(
  data,
  ...,
  colour_palette = NULL,
  inverse = FALSE,
  call = rlang::caller_env()
)

Arguments

data

Survey data

⁠obj:<data.frame>|obj:<tbl_df>⁠ // Required

A data frame (or a srvyr-object) with the columns specified in the chapter_overview 'dep_cat', etc columns.

...

Dynamic dots

<dynamic-dots>

Arguments forwarded to the corresponding functions that create the elements.

inverse

Flag, defaults to FALSE. If TRUE, swaps x-axis and faceting.

call

Internal call

⁠obj:<call>⁠ // Default: rlang::caller_env() (optional)

Both the absolute and relative folderpaths are required, as strings.

Value

mschart-object. Can be added to an rdocx, rpptx or rxlsx object.


[Package saros version 1.0.4 Index]