worked fine for me (after removing 'data=xx' which may have caused
caused problems since it is supposed to be a dataframe or a list, not
a matrix)
> par(mfrow=c(3,2))
> for(i in 2:7)
+ {
+ boxplot(xx[,i]~xx[,1],xlab="lev")
+ print(i)
+ }
[1] 2
[1] 3
[1] 4
[1] 5
[1] 6
[1] 7
On Mon, Oct 6, 2008 at
Dear R users,
I am new users of this software. I want to make box plot. Here, i have
simulated data set with following commands:
x<-matrix(rnorm(90),nrow=10,ncol=9)
x
a<-matrix(c(1,1,1,1,1,2,2,2,2,2),nrow=10,ncol=1)
xx<-cbind(a,x)
colnames(xx)<-c("a","b","c","d","e","f","g","h","i","j")
rownames
2 matches
Mail list logo