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)(x<B)+(k+(a-d)B+dx)(x>B) 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! -- View this message in context: http://r.789695.n4.nabble.com/Add-a-function-in-rq-tp3826192p3826192.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.