我有一个类似于此的流程图,
library(dplyr)
library(babynames)
library(streamgraph)
babynames %>%
filter(grepl("^Kr", name)) %>%
group_by(year, name)
%>% tally(wt=n) -> baby_names
head(baby_names)
streamgraph(baby_names, "name", "nn", "year")
网址:http://hrbrmstr.github.io/streamgraph/
如何添加包含来自其他来源的文字的自定义工具提示(例如,来自数据框的其他列)