Re: [Rd] how to exclude terms preceded by - from model frame

2008-03-19 Thread Prof Brian Ripley
On Wed, 19 Mar 2008, Liaw, Andy wrote: > [I believe few users manipulate formulae and model frames like this, so > I'm posting here instead of R-help.] > > I just found out that model.frame() includes all terms, including those > preceded by "-" in the formula, in its output (as mentioned on its h

[Rd] how to exclude terms preceded by - from model frame

2008-03-19 Thread Liaw, Andy
[I believe few users manipulate formulae and model frames like this, so I'm posting here instead of R-help.] I just found out that model.frame() includes all terms, including those preceded by "-" in the formula, in its output (as mentioned on its help page). Is there a recommended way of excludi