make_item_plt: Make item plot

make_item_pltR Documentation

Make item plot

Description

make_item_plt() is a Make function that creates a new R object. Specifically, this function implements an algorithm to make item plot. The function returns Item (a plot).

Usage

make_item_plt(
  tfd_data_tb,
  var_nm_1L_chr,
  x_label_1L_chr,
  fill_label_1L_chr = "Data collection",
  legend_position_1L_chr = "none",
  round_var_nm_1L_chr = "round",
  sngl_round_lbl_1L_chr = "n",
  sngl_round_var_nm_1L_chr = "n",
  use_bw_theme_1L_lgl = F,
  y_label_1L_chr = "Percentage",
  y_scale_scl_fn = NULL
)

Arguments

tfd_data_tb

Transformed data (a tibble)

var_nm_1L_chr

Variable name (a character vector of length one)

x_label_1L_chr

X label (a character vector of length one)

fill_label_1L_chr

Fill label (a character vector of length one), Default: 'Data collection'

legend_position_1L_chr

Legend position (a character vector of length one), Default: 'none'

round_var_nm_1L_chr

Round variable name (a character vector of length one), Default: 'round'

sngl_round_lbl_1L_chr

Single round label (a character vector of length one), Default: 'n'

sngl_round_var_nm_1L_chr

Single round variable name (a character vector of length one), Default: 'n'

use_bw_theme_1L_lgl

Use black and white theme (a logical vector of length one), Default: F

y_label_1L_chr

Y label (a character vector of length one), Default: 'Percentage'

y_scale_scl_fn

Y scale scale (a function), Default: NULL

Value

Item (a plot)


ready4-dev/youthvars documentation built on Nov. 15, 2024, 6:02 a.m.