Displaying 1 result from an estimated 1 matches for "clim2".
Did you mean:
climb
2006 Oct 29
1
Unexpected behavior of predict and interval="confidence"
..., interval="confidence")
matplot(new$x, pred.w.clim,
lty=c(1,2,2), type="l",
col=c("black", "red", "red"),
ylab="predicted y")
points(V1,V2)
# Create x & y equal to V1 & V2
x <- V1
y <- V2
pred.w.clim2 <- predict(lm(y ~ x), new, interval="confidence")
matplot(new$x, pred.w.clim2,
lty=c(1,2,2), type="l",
col=c("black", "red", "red"),
ylab="predicted y")
points(x,y)
# Test if V1=x, V2=y
all.equal(x,V1)
all.eq...