No :( I dont have a condition on variable but on row name. My data frame looks like (from your example): > x xin xout Peter 1 14 Tom 8 5 Jane 16 884 Paul 1 14 Cathy 8 5 Fred 16 884
I would like to subset xout for Jane and Paul for example. -- View this message in context: http://r.789695.n4.nabble.com/Subset-function-tp3801397p3801605.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.