-2
这是我的。条形图不会出现,但x和y轴以及标题出现
barplot(table(ordered(cancer$agecat,
c("Younger than 31","31 to 41","42 to 54","55 or Older"))),
main="Ordered Bar Chart of Age Categorie",ylim=c(0,120),
xlab="Number of People In Each Category")
这工作之前,一切都很好,但现在什么都没有。
请提供一个最小的可重复的例子。请参阅http://stackoverflow.com/q/5963269/4303162和https://meta.stackoverflow.com/questions/315885/what-is-the-correct-way-to-share-r-data-on-stackoverflow –