[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

[R] rcode problem

2013-08-20 Thread Garkuwa, Nuru Adamu
Hi, Please find attached rcode and my data.There seems to be a problem in the following rcodes: plot(diet~class.f, data=nuru) points(pred.mod1~midpoints,type="b") please I need your help. Kind Regards, Nuru Species Fish ID DateTimeDepth (m) Haul.No.Longitude