autoplot: Autoplot method

Description Usage Arguments Examples

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

1
2
## 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

1
2
3
4
## Not run: 
autoplot(sim_base_lm())

## End(Not run)

wahani/saeSim documentation built on Feb. 12, 2022, 7:21 p.m.