points: Add points

Description Usage Arguments Examples

Description

Add points to plot.

Usage

1
2
3

Arguments

p

Plot as initialised by funplot.

data

data.frame or matrix where the first column is x and the sencond y.

...

Any other parameter.

Examples

1
2
3
4
5
6
points <- data.frame(x = rnorm(10), y = rnorm(10))
lines <- data.frame(x = seq(-5, 4), y = rnorm(10))

funplot() %>%
  fun_points(points) %>%
  fun_lines(lines)

JohnCoene/funplot documentation built on March 19, 2018, 5:07 a.m.