Plot dependency wheel (highcharts)
Arguments
- data
(optional) data with columns
from,to,weight,colorandicon(e.g. "tint")- unit
display unit
- colors
ordered color palette
- rot
start angle
- subtitle
chart subtitle
- ...
Arguments passed on to
hc_themedhca highchart object
titlechart title
labeloptional annotation
base_fontdefault font for all chart elements
axesshow axes (default: TRUE)
exportinginclude chart export menu (default: TRUE)
creditsinclude credits (default: FALSE)
Examples
plot_wheel(dt)
#> Error in `:=`(from = sprintf("<span><i class=\"fa fa-%s fa-lg\"></i><br/>%s</span>", icons[from], toupper(from)), to = sprintf("<span><i class=\"fa fa-%s fa-lg\"></i><br/>%s</span>", icons[to], toupper(to))): Check that is.data.table(DT) == TRUE. Otherwise, := and `:=`(...) are defined for use in j, once only and in particular ways. See help(":=").