Skip to contents

Only the arguments you supply change; the rest keep their current setting (so qe_labels(font_size = 12) leaves the label modes alone).

Usage

qe_labels(
  p,
  nodes = "on",
  means = "on",
  points = "auto",
  font_size = NULL,
  font_family = NULL,
  font_color = NULL,
  font_weight = NULL
)

Arguments

p

A qe_plot object.

nodes

Label mode for code nodes. One of "on", "off", "click", "auto". Default "on".

means

Label mode for group means. Default "on".

points

Label mode for unit points. Default "auto".

font_size

Label font size in pixels (constant on screen, as in rENA). Default: scales with the plot. The title is drawn at 1.35×.

font_family

Label (and title) font family, e.g. "Georgia".

font_color

Label (and title) colour. Default: each label's own colour (group colours for means).

font_weight

Label font weight, e.g. "bold" or 600: one value for node, mean and point labels, or a named vector for some of them (c(nodes = "bold")). NULL clears it. Default: 500.

Value

The modified qe_plot object.