geom_hypo_grob: Provides the grob geom

Description Usage Arguments Details

View source: R/geom_grob.R

Description

geom_hypo_grob provides a geom of grobs

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
geom_hypo_grob(
  mapping = NULL,
  data = NULL,
  stat = "identity",
  position = "identity",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = FALSE,
  ...
)

Arguments

mapping

Set of aesthetic mappings created by aes()

data

The data to be displayed in this layer. This shoul be a tibble containing the grobs as one column, x and y values as columns and potential additional aesthetics (width, height and angle). Note, that x and y should be within 0 and 1 and that width and height represent the ration comprared to default size of the grob.

Details

The function geom_hypo_grob provides a way to add grob annotations as geom so that the can be distributed over differnt facets.

This geom builds heavily on the answer by baptiste on the tidiverse github forum: https://github.com/tidyverse/ggplot2/issues/1399

Only the parameters height, width and angle have been added.


k-hench/fftidy documentation built on March 9, 2021, 4:10 p.m.