moduleSticker: Function to create stikers for SpaDES modules

Description Usage Arguments Value Author(s)

View source: R/moduleSticker.R

Description

Function to create stikers for SpaDES modules

Usage

1
2
3
4
5
6
7
8
moduleSticker(
  moduleTable = NULL,
  moduleName,
  directory = getwd(),
  useCache = NULL,
  savedSticker = NULL,
  ...
)

Arguments

moduleTable

Table with the information to generate the sticker (i.e. figure name, height, colors, etc)

moduleName

charcter string of the module's name.

directory

charachter string of the directory where the sticker should be saved

useCache

logical. Should the process of downloading and loading the table be cached?

savedSticker

Character string. Name of the file to e saved. If not provided, saves with the name of the figure. Useful if more than one stickers have the same figure

...

Other parameters for ggplot2 (i.e. fontface, lineheight)

Value

This function returns the location where the sticker is available

Author(s)

Tati Micheletti


tati-micheletti/usefulFuns documentation built on July 7, 2020, 3:19 p.m.