Re: [R] deleting certain observations in a data frame

2008-02-25 Thread Chang Liu
variables, but thanks Peter for the second trick. That one works for deleting the actually data entries. Karen> Subject: RE: [R] deleting certain observations in a data frame> Date: Fri, 15 Feb 2008 10:05:39 +1300> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]; r-help@r-proje

Re: [R] deleting certain observations in a data frame

2008-02-14 Thread Peter Alspach
: Friday, 15 February 2008 9:50 a.m. > To: r-help@r-project.org > Subject: [R] deleting certain observations in a data frame > > > Hi, I'm wondering what the fastest way is to delete certain > data points (observations) in a data frame. > I have a vector of the indices/

[R] deleting certain observations in a data frame

2008-02-14 Thread Chang Liu
Hi, I'm wondering what the fastest way is to delete certain data points (observations) in a data frame. I have a vector of the indices/row.names I would like to delete. I have tried replacing list by list, but it always complains about different lengths, "replacing list of length a with length