| plot_chord | R Documentation |
This auxiliary function plots discrete and continuous values results
plot_chord(
origin,
dest,
weight = 1,
mg = 3,
title = "Chord Diagram",
subtitle = "",
pal = NA
)
origin, dest |
Vectors. Origin and destination vectors |
weight |
Vector. Weight for each chord. |
mg |
Numeric. Margin adjust for plot in case of need |
title |
Character. Title for the plot |
subtitle |
Character. Subtitle for the plot |
pal |
Vector. Colour pallete. Order matters. |
chordDiagram object
Other Visualization:
distr(),
freqs(),
freqs_df(),
freqs_list(),
freqs_plot(),
noPlot(),
plot_survey(),
plot_timeline(),
tree_var()
# You must have "circlize" library to use this auxiliary function:
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.