[R] (no subject)

Anders Eklund aeklund at kth.se
Tue Sep 12 14:49:18 CEST 2006


Hi,

I have a problem with aggregate.

x <- aggregate(t1,list(t2,t3,t4), mean)

z<-x[,3]

I want z to be a vector but it is a factor.

I've tried to use as.vector(z,mode="numeric") but then the numbers get
scrambeled.

Any help is appriciated

/anders



More information about the R-help mailing list