Mark Leeds wrote:
> Hi Ricardo: I'm glad it helped but check 
>
> regexpr("Jalapa", as.character( unidad ) ) != -1
>
> because I think it should be
>
> regexpr("Jalapa", as.character( DF$unidad ) ) != -1
>
> if unidad is a column of DF.

Checked! attach(DF) did the trick! :-)

Greetings,

Ricardo

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