Re: [R] Add a function in rq

2011-09-20 Thread David Winsemius
On Sep 20, 2011, at 4:50 AM, mael wrote: Hi, I am trying to add a function in a linear quantile regresion to find a breakpoint. The function I want to add is: y=(k+ax)(xB) How do I write it in the rq() function? Do I need to define the parameters in any way and how do

[R] Add a function in rq

2011-09-20 Thread mael
Hi, I am trying to add a function in a linear quantile regresion to find a breakpoint. The function I want to add is: y=(k+ax)(xB) How do I write it in the rq() function? Do I need to define the parameters in any way and how do I do that? I'm a biologist new to R. Thanks!