autoplot.list: Automatic ggplot for a x, y, z list.

Description Usage Arguments Examples

View source: R/autoplot-list.R

Description

Similar to image

Usage

1
2
## S3 method for class 'list'
autoplot(object, data = NULL, mapping = aes(), ...)

Arguments

object

list with components x, y and z

data

not used by this method

mapping

a call to aes() specifying additional mappings between variables and plot aesthetics; by default, positions in x and y are mapped to the x and y coordinates and fill is mapped to the values contained in the z component in the list

...

not used by this method

Examples

1
2
3
4
5
6
7
x <- seq(0, 1, by=0.1)
y <- seq(0, 2, by=0.1)
z <- outer(x, y, "+") 
d <- list(x=x, y=y, z=z)
image(d)
autoplot(d)
autoplot(d, mapping=aes(alpha=x))

jiho/autoplot documentation built on May 19, 2019, 9:29 a.m.