oh god, thanks!now it looks so simple!! -- View this message in context: http://r.789695.n4.nabble.com/dummy-variable-tp4637347p4637574.html Sent from the R help mailing list archive at Nabble.com.