Re: [R] Exclude rows in table

2008-10-21 Thread Philipp Pagel
On Tue, Oct 21, 2008 at 03:52:05PM +0200, Jim Gustafsson wrote: > I have the following type of table (with number of rows = 4765) and want > to exclude each row where Net=0. Could this be done in a simple way? subset(A, Net!=0) or A[A$Net!=0, ] See manual, section 2.7 cu Philipp --

Re: [R] Exclude rows in table

2008-10-21 Thread Bert Gunter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Gustafsson Sent: Tuesday, October 21, 2008 6:52 AM To: [EMAIL PROTECTED] Subject: [R] Exclude rows in table Dear R-Help, I have the following type of table (with number of rows = 4765) and want to

Re: [R] Exclude rows in table

2008-10-21 Thread Peter Alspach
Tena koe Jim A[A[,'Net']!=0,] or A[!A[,'Net']%in%0,] Peter Alspach > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jim Gustafsson > Sent: Wednesday, 22 October 2008 2:52 a.m. > To: [EMAIL PROTECTED] &

[R] Exclude rows in table

2008-10-21 Thread Jim Gustafsson
Dear R-Help, I have the following type of table (with number of rows = 4765) and want to exclude each row where Net=0. Could this be done in a simple way? Thanks in advance Jim > A Business.Unit Event1 Net Date 1General Fraud 170.000 2006-01-01 2Gen