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
--
-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
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]
&
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
4 matches
Mail list logo