Skip to content
Prev 273030 / 398500 Next

How to use a function inside a regression formula

On 30/09/2011 2:07 PM, Jim Cheng wrote:
min(gpa, rank) will be a length 1 vector.  You want pmin(gpa, rank).  (I 
haven't tried it in the regression, but it should work.)

Duncan Murdoch