amFunnel {rAmCharts} | R Documentation |
Plotting funnel chart using rAmCharts
Description
amFunnel computes a funnel chart of the given value.
Usage
amFunnel(
data,
inverse = FALSE,
neck_height = NULL,
neck_width = NULL,
depth = 0,
label_side = "right",
margin_right = 200,
margin_left = 200,
...
)
Arguments
data |
|
inverse |
|
neck_height |
|
neck_width |
|
depth |
|
label_side |
|
margin_right |
|
margin_left |
|
... |
see |
References
See online documentation https://datastorm-open.github.io/introduction_ramcharts/ and amChartsAPI
See Also
amOptions, amBarplot, amBoxplot, amHist, amPie, amPlot, amTimeSeries, amStockMultiSet, amBullet, amRadar, amWind, amFunnel, amAngularGauge, amSolidGauge, amMekko, amCandlestick, amFloatingBar, amOHLC, amWaterfall
Examples
data(data_funnel)
amFunnel(data = data_funnel, inverse = TRUE)
## Not run:
# Other examples available which can be time consuming depending on your configuration.
# Change the orientation and legend side
amFunnel(data = data_funnel, inverse = FALSE,
label_side = "left", margin_right = 15, margin_left = 160)
# Basic example : Funnel chart
amFunnel(data = data_funnel, neck_height = 30, neck_width = 40)
# 3D pyramid
amFunnel(data = data_funnel, depth = 50, inverse = TRUE)
## End(Not run)