📜  在 is_lodes_form( : 缺少 id-axis 配对.-任何代码示例

📅  最后修改于: 2022-03-11 14:59:05.503000             🧑  作者: Mango

代码示例3
library(dplyr)                                          # to manipulate data
library(alluvial)
allu <- data %>% 
        group_by(Diagnose1, Diagnose2, Diagnose3) %>%   # grouping
        summarise(Freq = n())                           # adding frequencies

# here the plot
alluvial(allu[,1:3], freq=allu$Freq)