-----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 exclude each row where Net=0. Could this be done in a simple way? Yes. help("[") Also see "An Introduction to R." Do your homework before posting, please. -- Bert Gunter Thanks in advance Jim > A Business.Unit Event1 Net Date 1 General Fraud 170.000 2006-01-01 2 General Fraud 100.000 2007-11-09 3 General Fraud 486.286 2004-10-21 4 General Fraud 46.603 2005-04-25 5 Life Fraud 24.588 2006-02-28 6 Life Fraud 419.000 2007-11-23 7 Life Fraud 0 2006-07-13 8 Life Fraud 0 2006-07-13 9 General Fraud 47.000 2004-03-10 10 General Fraud 27.384 2003-07-01 11 General Fraud 20.436 2005-03-16 12 General Fraud 64.000 2004-01-01 13 General Fraud 16.414 2007-09-10 ---------------------------------------------------------------------------- -- This e-mail and any attachment may be confidential and m...{{dropped:14}} ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.