问答详情
源自:3-3 R语言 基本绘图系统之实践

> boxplot(airquality$wind, xlab="Wind", ylab="Speed(mph)") Error in plot.window(xlim = xlim, ylim = ylim, log = log, yaxs = pars$yaxs) : 'ylim'值不能是无限的 In addition: Warning messages: 1: In min(x) : no non-missing arguments to min; returning Inf 2: In ma

> boxplot(airquality$wind, xlab="Wind", ylab="Speed(mph)")

Error in plot.window(xlim = xlim, ylim = ylim, log = log, yaxs = pars$yaxs) : 

  'ylim'值不能是无限的

In addition: Warning messages:

1: In min(x) : no non-missing arguments to min; returning Inf

2: In max(x) : no non-missing arguments to max; returning -Inf


提问者:牛奶泡枸杞 2018-10-12 10:44

个回答

  • 慕神0064615
    2018-10-15 09:51:36

    boxplot(formula,data=dataframe)

    你的公式中airquality$wind,没有大写,所以R识别不了。故有ylim值不能无限。