grantmcdermott / tinyplot

Lightweight extension of the base R graphics system
https://grantmcdermott.com/tinyplot
Apache License 2.0
259 stars 8 forks source link

type_function #250

Closed vincentarelbundock closed 1 week ago

vincentarelbundock commented 2 weeks ago
library(tinyplot)
tinyplot(x = -1:6, type = type_function(
  fun = dnorm, args = list(mean = 3),
  col = "pink", type = "p", pch = 3
))