autoplot.sim_setup: 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 sim_setup
autoplot(object, x = "x", y = "y", ...)
Arguments
x
character of variable name in the data on the x-axis
y
character of variable name in the data on the y-axis
Examples
Run this code# NOT RUN {
autoplot(sim_base_lm())
# }
Run the code above in your browser using DataLab