[R] mean on a table

2007-01-11 Thread Farrel Buchinsky
Please suggest areas that I should troubleshoot. This command used to give me an answer and now it gives me an error. > mean(no.genot,na.rm=T) Error in tapply(x, by, sum, na.rm = TRUE) : arguments must have same length I tried removing the na.rm=T) > mean(no.genot) Error in `names<-.default

Re: [R] mean on a table

2007-01-11 Thread Peter Dalgaard
Farrel Buchinsky wrote: > Please suggest areas that I should troubleshoot. This command used to > give me an answer and now it gives me an error. > >> mean(no.genot,na.rm=T) >> > Error in tapply(x, by, sum, na.rm = TRUE) : > arguments must have same length > I tried removing the na.

Re: [R] mean on a table

2007-01-11 Thread Farrel Buchinsky
Not that I know of. When I get back to the office I will check it out. I certainly do not recall having created one. I wonder if a library I am working with maybe created a mean function. How do I figure out if I have a loose cannon mean function on the run in my system? On 1/11/07, Peter Dalgaard

Re: [R] mean on a table

2007-01-11 Thread Petr Pikal
r-help@stat.math.ethz.ch Subject: Re: [R] mean on a table > Not that I know of. > When I get back to the office I will check it out. > I certainly do not recall having created one. > I wonder if a library I am working with maybe created a mean function. > How do I figure ou

Re: [R] mean on a table

2007-01-12 Thread Peter Dalgaard
Petr Pikal wrote: > Hi > > On 11 Jan 2007 at 23:11, Farrel Buchinsky wrote: > >> Not that I know of. >> When I get back to the office I will check it out. >> I certainly do not recall having created one. >> I wonder if a library I am working with maybe created a mean function. >> How do I figure