autolayer: Create a ggplot layer appropriate to a particular data type

Description Usage Arguments Value See Also

View source: R/autolayer.r

Description

autolayer uses ggplot2 to draw a particular layer for an object of a particular class in a single command. This defines the S3 generic that other classes and packages can extend.

Usage

1
autolayer(object, ...)

Arguments

object

an object, whose class will determine the behaviour of autolayer

...

other arguments passed to specific methods

Value

a ggplot layer

See Also

autoplot(), ggplot() and fortify()


czxa/ggplot2 documentation built on Oct. 8, 2018, 12:11 a.m.