Re: [R] Quanteg problem in R

2013-08-22 Thread David Winsemius
On Aug 22, 2013, at 9:23 AM, Garkuwa, Nuru Adamu wrote: > 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) # [1] 28 98 > range(len$preyl) > x<-rq(len$preyl~len$length,tau=0.95) > plot(x, type="b", xlab="le

[R] Quanteg problem in R

2013-08-22 Thread Garkuwa, Nuru Adamu
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