Description Usage Arguments Examples
Draw a chart by Gneisschart from data.frame.
1 2 3 4 |
data |
data.frame |
label |
column name of labels |
type |
chart type(s). |
title |
title of the graph |
credit |
credit of the graph (e.g. "Made with Gneisschart") |
data_source |
source of the data (Something like "Data: Bureau of Labor Statistics" or "Data compiled by Factset") |
y_ticks |
number of ticks of y-axis |
y_prefix |
prefix unit of y-axis (e.g. $) |
y_suffix |
suffix unit of y-axis (e.g. k) |
y_limits |
lower and upper limits of y-axis (if not specified, this will be automatically calculated) |
width |
width of the graph |
height |
height of the graph |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | a <- data.frame(
names = c("apples", "oranges"),
juicyness = c(5.5, 23),
color = c(10.2, 10),
favor = c(6.1, 13),
travelablility = c(3.8, 7),
stringsAsFactors = FALSE
)
gneiss(a, label = "names")
gneiss(a, label = "names", type = "column", credit = "Made w/o Chartbuilder")
gneiss(a, label = "names", type = c("line","column"), title = "This is the very example chart!")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.