ggpInit: Initiate ggplot2 layering

View source: R/g.R

ggpInitR Documentation

Initiate ggplot2 layering

Description

Initiates a ggplot object to which ggpLayer- functions can be added for individual plotting ideas.

Usage

ggpInit(object = "object", theme = "void", data = "coords")

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

theme

Character value. String that denotes the default theme. Defaults to void

Value

An empty ggplot.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.