【发布时间】:2022-08-11 01:05:41
【问题描述】:
(1) 我有一个名为 resdf 的频率表,看起来像这样-here is the table
(2)这是我尝试使用的代码行
awards_given<-hist(resdf$Year,resdf$Freq,type=\"h\",breaks=seq(0,88,by=10))
(3) 我得到这个错误
Error in hist.default(resdf$Year, resdf$Freq, type = \"h\", breaks = seq(0, :
some \'x\' not counted; maybe \'breaks\' do not span range of \'x\'
-
您不能使用
hist()绘制 2 个变量。