initializePlot | R Documentation |
Initialize a ggplot
object and set its labels, grid, background and watermark
initializePlot(plotConfiguration = NULL)
plotConfiguration |
An optional |
A ggplot
graphical object
For examples, see: https://www.open-systems-pharmacology.org/TLF-Library/articles/atom-plots.html
Other atom plots:
addErrorbar()
,
addLine()
,
addRibbon()
,
addScatter()
# Initialize an empty plot
p <- initializePlot()
# Implement a customized configuration using PlotConfiguration
config <- PlotConfiguration$new(title = "My Plot", xlabel = "x variable", ylabel = "y variable")
p <- initializePlot(config)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.