[R] Quanteg problem in R

Garkuwa, Nuru Adamu nuru.garkuwa.11 at aberdeen.ac.uk
Thu Aug 22 18:23:09 CEST 2013


I used the codes below trying to fit a model at .95 c.i. of size relationship but it fails.

 library(quantreg)
 range(len$length)
  range(len$preyl)
 x<-rq(len$preyl~len$length,tau=0.95)
 plot(x, type="b", xlab="length (cm)",ylab="preyl (cm)",ylim=c(5,35), xlim=c(10,100), data=len)

Cheers,
Nuru


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: prey.pred.len.NS.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130822/92f16263/attachment.txt>


More information about the R-help mailing list