This auxiliary function plots discrete and continuous values results
Usage
plot_chord(
origin,
dest,
weight = 1,
mg = 3,
title = "Chord Diagram",
subtitle = "",
pal = NA
)
See also
Other Visualization:
distr()
,
freqs()
,
freqs_df()
,
freqs_list()
,
freqs_plot()
,
noPlot()
,
plot_survey()
,
plot_timeline()
,
tree_var()
Examples
# You must have "circlize" library to use this auxiliary function:
if (FALSE) { # \dontrun{
df <- data.frame(from = c(1, 1, 2, 3, 4, 1, 6), to = c(4, 4, 4, 2, 2, NA, NA))
plot_chord(df$from, df$to)
} # }