[R] Computting statistics on a matrix with 2 factor column

2004-06-08 Thread Marc Mamin
Hello, I suppose this is a basic question but couldn't find a solution.: I have a large matrix with let say 3 columns: V1 V2 V3 a x 2 a x 4 a y 8 b z 16 and I want to compute some statistics based on the levels resulting form the

Re: [R] Computting statistics on a matrix with 2 factor column

2004-06-08 Thread Chuck Cleland
?tapply ?aggregate You probably have a data frame, not a matrix. Marc Mamin wrote: I suppose this is a basic question but couldn't find a solution.: I have a large matrix with let say 3 columns: V1 V2 V3 a x 2 a x 4 a y 8 b z 16 and I

Re: [R] Computting statistics on a matrix with 2 factor column

2004-06-08 Thread Gavin Simpson
Marc Mamin wrote: Hello, I suppose this is a basic question but couldn't find a solution.: I have a large matrix with let say 3 columns: V1 V2 V3 a x 2 a x 4 a y 8 b z 16 and I want to compute some statistics based on the levels resulting