# NOT RUN {
# 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)
# }
Run the code above in your browser using DataLab