figure | R Documentation |
Compilation of HTML/plotly document
figure(
...,
x = c(),
type = c(),
title = "",
vline = c(),
legend = c(),
xlabel = "",
ylabel = "",
colors = c(),
by = "",
lineWidth = 2,
width = 600,
height = 450,
layout = list(),
config = list(),
style = "",
reportFile = "tmp.html",
libFile = "path/to/file/plotly.min.js",
lightWeight = F,
name = "",
css = "",
font = "",
reopen = F,
debug = F
)
none, modifies the given HTML template file.
figure(c(1:5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.