Re: [R] Removing points

2010-05-12 Thread John Kane
?subset --- On Wed, 5/12/10, Blue.Egg wrote: > From: Blue.Egg > Subject: [R] Removing points > To: r-help@r-project.org > Received: Wednesday, May 12, 2010, 8:33 AM > > I have a some data, and imagine a column of how many > parasitic eggs found in > the stool of s

Re: [R] Removing points

2010-05-12 Thread jim holtman
It would be helpful to post some actual data. You can do: mean(x[x != -1]) On Wed, May 12, 2010 at 8:33 AM, Blue.Egg wrote: > > I have a some data, and imagine a column of how many parasitic eggs found > in > the stool of some children some of the children we do not have this data so > we put

Re: [R] Removing points

2010-05-12 Thread Tal Galili
Hi Egg, please read this: http://www.statmethods.net/management/subset.html Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-st

[R] Removing points

2010-05-12 Thread Blue.Egg
I have a some data, and imagine a column of how many parasitic eggs found in the stool of some children some of the children we do not have this data so we put -1 in stead. How can you remove the people with -1, to calculate means and do box plots. Thank you! -- View this message in context: htt