Hi all,

I have not been able to find an answer to what is a simple question:

conaguaMexicoSub <- subset(conagua, unidad == "Jalapa", select = 
c(equipo,X101:X309))

This subset gives me all the rows from conagua where unidad is Jalapa. 
But, please, how do I get all the rows where unidad contents Jalapa?

I've been looking at regex, but I didn't find how pass one to unidad ==.

Thanks!

-- 
Ricardo Rodríguez
Your XEN ICT Team

______________________________________________
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.

Reply via email to