search for: sandcomb

Displaying 1 result from an estimated 1 matches for "sandcomb".

Did you mean: anscomb
2012 Feb 02
2
Problem with range()
...in the data, but I dont remember this being a problem before. I typed na.action=na.omit anyway, which has usually solved any NA issues in the past. Any idea why R cant do vector functions for these data? Solution? Thanks, Colin Wahl M.S. Biology candidate Western Washington University fit<-lm(sandcomb ~ CCEC25) z<-predict(fit, data.frame(CCEC25=range(CCEC25))) lines(range(CCEC25), z, lty=2, lwd=0.75, col="grey51") > is.vector(CCEC25) [1] TRUE > is.numeric(CCEC25) [1] TRUE > range(CCEC25) [1] NA NA > CCEC25 [1] 375.8 8769.0 NA 4197.0 NA 36880.0 4167.0...