Re: [R] problem of tapply function

2014-03-30 Thread Massimiliano Tripoli
Thanks Bert - Messaggio originale - Da: "Bert Gunter" A: "Massimiliano Tripoli" Cc: r-help@r-project.org Inviato: Sabato, 29 marzo 2014 15:52:59 Oggetto: Re: [R] problem of tapply function The argument to tapply is FUN, not fun. R is case sensitive. -- Bert B

Re: [R] problem of tapply function

2014-03-29 Thread Bert Gunter
The argument to tapply is FUN, not fun. R is case sensitive. -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." H. Gilbert Welch On Sat, Mar 29, 2014 at 6:51 AM, Massimiliano T

[R] problem of tapply function

2014-03-29 Thread Massimiliano Tripoli
Dear All, I have a vector x (as a factor, see below) for which I'd like to know frequencies for each level of the factor itself. I generally use "tapply function" for that but it gave to me an unespected result as you can see and according my knowledge of R language and if my memory did not fa