prep_cat_freq_plot_html {saros}R Documentation

Create Single Interactive Categorical Plot with Univariates for Categorical Columns Sharing Same Categories

Description

Create Single Interactive Categorical Plot with Univariates for Categorical Columns Sharing Same Categories

Usage

prep_cat_freq_plot_html(
  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

ggiraph object, plottable with plot()


[Package saros version 1.0.4 Index]