View source: R/chart_amMekko.R
amMekko | R Documentation |
amMekko computes a mekko chart of the given values.
amMekko(
x,
y,
data,
xlab = "",
ylab = "",
groups_color = NULL,
horiz = FALSE,
show_values = FALSE,
...
)
x |
|
y |
|
data |
|
xlab |
|
ylab |
|
groups_color |
|
horiz |
|
show_values |
|
... |
see |
See online documentation https://datastorm-open.github.io/introduction_ramcharts/ and amChartsAPI
amOptions, amBarplot, amBoxplot, amHist, amPie, amPlot, amTimeSeries, amStockMultiSet, amBullet, amRadar, amWind, amFunnel, amAngularGauge, amSolidGauge, amMekko, amCandlestick, amFloatingBar, amOHLC, amWaterfall
data(data_mekko)
amMekko(x = "var1", y = "var2", data = data_mekko)
## Not run:
# Other examples available which can be time consuming depending on your configuration.
library(pipeR)
# Horizontal
amMekko(x = "var1", y = "var2", data = data_mekko, horiz = TRUE)
# Display values
amMekko(x = "var1", y = "var2", data = data_mekko, show_values = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.