Re: [R] Find and remove elemnts of a data frame

2011-01-06 Thread Alaios
Thanks a lot worked fine Regards --- On Thu, 1/6/11, John Kane wrote: From: John Kane Subject: Re: [R] Find and remove elemnts of a data frame To: r-help@r-project.org, "Alaios" Date: Thursday, January 6, 2011, 3:27 PM With dataframe xx (naming a data.frame as data.frame is a

Re: [R] Find and remove elemnts of a data frame

2011-01-06 Thread John Kane
With dataframe xx (naming a data.frame as data.frame is a bit dicey subset(xx, xx[,4]> -45) --- On Thu, 1/6/11, Alaios wrote: > From: Alaios > Subject: [R] Find and remove elemnts of a data frame > To: r-help@r-project.org > Received: Thursday, January 6, 2011, 10:07 AM > De

[R] Find and remove elemnts of a data frame

2011-01-06 Thread Alaios
Dear all, I have a data frame that is created like that data.frame(x=CRX[-1],y=CRY[-1],z=CRagent[[1]]$sr) the output looks like 45 116 162 -30.89105988567164 46 128  79 -42.66296679571184 47 180 195 -30.45626175641315 48 114  83 -45.26843476475688 49 118  73 -46.85389245327003 How can I select