<br />
library("UsingR")<br />
data(home)<br />
attach(home)<br />
boxplot(scale(old), scale(new))<br />
出现警告信息:
In if (use.cols) split(x, rep.int(1L:ncol(x), rep.int(nrow(x), ncol(x)))) else split(x, :
条件的长度大于一,因此只能用其第一元素</p>
以上程序我是按照"Using R for Introductory Statistics" 的例子来输入的,为什么会出错??我用的是2.13.2的版本,但是例子来自John Verzani 2001年的"Using R for Introductory Statistics"。