Re: [R] Specify a minimum number of valid arguments for the mean function

2010-09-14 Thread Uwe Ligges
On 13.09.2010 17:43, Luana Marotta wrote: Hello all, I want to specify a minimum number of valid arguments for the mean function--I have 5 variables but I want the mean only of cases that have at least 3 valid answers. What is the best way to do that? If your 5 variables are in a

[R] Specify a minimum number of valid arguments for the mean function

2010-09-13 Thread Luana Marotta
Hello all, I want to specify a minimum number of valid arguments for the mean function--I have 5 variables but I want the mean only of cases that have at least 3 valid answers. What is the best way to do that? Thank you very much! Luana [[alternative HTML version deleted]]