Ok, stupid question. is.factor is the solution. Thanks! -- View this message in context: http://r.789695.n4.nabble.com/Type-of-variable-tp4710395p4710396.html Sent from the R help mailing list archive at Nabble.com.