Hi!

Using recode in cars package, I tryed to use the following:

recode(data$nrcomp, "lo:5='0 to 5'; 5:hi='bigger than 5'")

I got:

Erro em parse(text = strsplit(term, "=")[[1]][2]) :
  unexpected end of input in "'0 to 5"

When I try only numbers, or only text, it's ok, but when I try to combine
numbers and text, I got a error...

Any help?

-- 

Raphael Saldanha
Brazil
[EMAIL PROTECTED]

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

Reply via email to