Hi, I extracted from a data.frame (x) of 27 columns a smaller data.frame (x2) with 12 columns whit the following: x2=x[, c("BROVISINGVal", "CHATVal", "EMAILVal", ..., "Piano.Tariffario")] Anyway I want to form x2 by extracting all the rows that assume any value for the first 11 columns but a particular value (2) for the last one "Piano.Tariffario". How do I continue? Thanks Sabrina
[[alternative HTML version deleted]] ______________________________________________ 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.