Dear R-help list

The functions drop.terms and [.terms ignores if the intercept
has been explicitly removed. Is that a deliberate feature?

For instance,

drop.terms(terms(~a+b-1),1)
terms(~a+b-1)[2]

R version 2.12.0 Under development (unstable) (2010-09-13 r52905)

Best, Niels

--
Niels Richard Hansen                     Web:   www.math.ku.dk/~richard 
Associate Professor                      Email: niels.r.han...@math.ku.dk
Department of Mathematical Sciences             nielsrichardhan...@gmail.com
University of Copenhagen                 Skype: nielsrichardhansen.dk   
Universitetsparken 5                     Phone: +45 353 20783 (office)  
2100 Copenhagen Ø                               +45 2859 0765 (mobile)
Denmark

______________________________________________
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