plot_facets: Plot Facets

View source: R/facet_chart.R

plot_facetsR Documentation

Plot Facets

Description

Generates a facet chart from coordinates.

Usage

plot_facets(
  coord,
  title = NULL,
  size = 1,
  file_name = "none",
  file_width = 10,
  file_height = 10,
  zoom_x = NULL,
  zoom_y = NULL,
  dpi = 500,
  color = "black",
  fade = 85,
  font = "sans",
  cor_labels = TRUE,
  size_title = 1,
  size_cor_labels = 1,
  size_test_label = 1,
  size_facet_labels = 1,
  width_axes = 1,
  width_circles = 1,
  width_tick = 1,
  size_tick_label = 1,
  size_marker = 0.1
)

Arguments

coord

list generated by coord_facets or coord_nested.

title

character; overall chart title; defaults to NULL.

size

integer; changes the size of most chart objects simultaneously.

file_name

character; name of the file to save. Supported formats are: "pdf" (highest quality and smallest file size), "png", "jpeg"; defaults to "none".

file_width

integer; file width in inches; defaults to 10.

file_height

integer; file height in inches; defaults to 10.

zoom_x

integer; vector with two values, the edges of the zoomed section on the x-axis; defaults to NULL.

zoom_y

integer; vector with two values, the edges of the zoomed section on the y-axis; defaults to NULL.

dpi

integer; resolution in dots per inch for "png" and "jpeg" files; defaults to 500.

color

accent color; defaults to "black".

fade

integer; brightness of the gray tones between 0 = "black" and 100 = "white" in steps of 1; defaults to 85.

font

character; text font, use extrafonts to access additional fonts; defaults to "sans", which is "Helvetica".

cor_labels

logical; if TRUE, shows latent correlations between facets; defaults to TRUE.

size_title

integer; title font size relative to default.

size_cor_labels

integer; correlation font size relative to default.

size_test_label

integer; test font size relative to default.

size_facet_labels

integer; facet font size relative to default.

width_axes

integer; radial axis width relative to default.

width_circles

integer; facet circle outline width relative to default.

width_tick

integer; axis tick line width relative to default.

size_tick_label

integer; axis tick font size relative to default.

size_marker

integer; size (in inches) of the value marker at the circle border that indicates the center distance, a value of 0 omits the marker; defaults to .1

Details

Use facet_chart to create facet charts.

Value

Object of the class "ggplot".

See Also

coord_facets facet_chart


IPV documentation built on Sept. 30, 2022, 5:08 p.m.