The replication of the error did not "suceed" because I forgot to tell that X2 is a factor. Sorry about that. For instance: d[,3]=as.factor(d[,3]) This piece is just a small sample of a larger error for which I encouneter this error many times. Thanks
-- View this message in context: http://r.789695.n4.nabble.com/Error-using-betareg-tp3621955p3622300.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.