autoplot.sim_setup {saeSim} | R Documentation |
Autoplot method
Description
Use this function to produce plots for an object of class sim_setup
and you like to have plots based on ggplot2. At this time it is a ggplot2 implementation which mimics the behavior of smoothScatter
without all the options.
Usage
## S3 method for class 'sim_setup'
autoplot(object, x = "x", y = "y", ...)
Arguments
object |
a sim_setup |
x |
character of variable name in the data on the x-axis |
y |
character of variable name in the data on the y-axis |
... |
is not used |
Examples
## Not run:
autoplot(sim_base_lm())
## End(Not run)
[Package saeSim version 0.11.0 Index]