Learn R Programming

ggfun (version 0.1.8)

geom_triangle: geom_triangle

Description

ggplot2 layer of triangle

Usage

geom_triangle(mapping = NULL, data = NULL, ...)

Value

ggplot2 layer

Arguments

mapping

aes mapping

data

data

...

additional parameters

Author

Shipeng Guo

Examples

Run this code
library(ggplot2)
ggplot(mtcars, aes(mpg, disp)) + geom_triangle()

Run the code above in your browser using DataLab