Skip to content
Prev 138439 / 398506 Next

subsetting a dataframe

try this:

Minus127 <- ShortLavin[!row.names(ShortLavin) %in% "127", ]


I hope it helps.

Best,
Dimitris

----
Dimitris Rizopoulos
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm

----- Original Message ----- 
From: "John Sorkin" <jsorkin at grecc.umaryland.edu>
To: <r-help at r-project.org>
Sent: Tuesday, March 04, 2008 2:41 PM
Subject: [R] subsetting a dataframe