【发布时间】:2020-10-18 14:36:13
【问题描述】:
我需要 R 方面的帮助:
使用 nycflights13 包中的航班数据集
https://github.com/hadley/nycflights13
我需要生成原始变量的条形图,但出现错误
tab_orig <- sort(table(flights$origin))
> tab_orig
LGA JFK EWR
104662 111279 120835
> barplot(tab_orig)
Error in plot.new() : figure margins too large
【问题讨论】:
-
barplot(tab_orig)适合我。你可以看看这里 - stackoverflow.com/questions/23050928/…
标签: r