plot_ly: plot_ly

Description Usage Examples

Description

plot_ly

Usage

1
2
3
4
plot_ly(data = data.frame(), ..., type = NULL, color, colors = NULL,
  alpha = 1, symbol, symbols = NULL, size, sizes = c(10, 100), linetype,
  linetypes = NULL, split, frame, width = NULL, height = NULL,
  source = "A")

Examples

1
2
3
4
library(ggplot2)
p <- plot_ly(economics, x = ~date, y = ~pop)
p$elementId <- "plotly"
p

saurfang/pkgdown.example documentation built on May 29, 2019, 1:27 p.m.