Skip to contents

Tile plot

Usage

wrapper_tile_plot1_core(
  data,
  y_vars,
  colors = NULL,
  variable_names = NULL,
  skip_NAs = FALSE,
  rev = TRUE,
  rev_levels_skip = NULL,
  order = TRUE,
  return_plotlist = FALSE,
  nrow_legend = 3
)

wrapper_tile_plot2_core(
  data,
  y_vars,
  colors = NULL,
  variable_names = NULL,
  skip_NAs = FALSE,
  rev = TRUE,
  rev_levels_skip = NULL,
  return_plotlist = FALSE,
  nrow_legend = 3
)

Arguments

data

Data frame.

y_vars

Names of variables to be plotted as tiles. Those variables must be factors.

colors

Named list with colors for 'y_vars'.

variable_names

Named vector with nicer variable names.

skip_NAs

Logical vector. Whether to skip NAs.