b$month <- substring(bb$all$month, 3)
b$year <- substring(bb$all$month, 1, 2)

Ah well, I have to make it a factor. Thank you.

Regards,
Thomas.

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to