example of dataframe after pivot_table 我可以通过添加.plot()直接绘制pivot_table。() .plot() directly after pivot_table operation on dataframe 然而,我希望这张图表是有情节的。dataframe after stack operation.I want to plot the values column (red arrow) as y-value and index as x-value 但是,我不能使用这
this_group_label <- "Roots & Tubers"gg <- gg + geom_area(position = "stack")这样我就可以在处理具有不同列名的新数据框时更改存储在this_group_label中的字符串。is created with a column named "Roots & Tubers..