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 -- Dr. Philipp Pagel Lehrstuhl für Genomorientierte Bioinformatik Technische Universität München Wissenschaftszentrum Weihenstephan 85350 Freising, Germany http://mips.gsf.de/staff/pagel ______________________________________________ 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.