.) : only defined on a data frame with all numeric-alike variables`
项目场景:ggplot绘制条形图,想将y轴上限上调,美化图形。ggplot(cabbage_exp,aes(interaction(Date,Cultivar),Weight))+geom_bar(stat='identity')+geom_text(aes(label=Weight),vjust=0.2)+ylim(0,max(cabbage_exp)*1.05)问题描述运行之后出现如下报错:E