Define your new_df before you calculate temp_var, and give it to predict so
predict doesn't start from your original x values. Add temp_var to new_df.
Read ?predict.lm.
Don't create matrices with cbind before creating data frames... data frames can
have a variety of data storage modes (types) f
Dear All,
would you have some thoughts on how to extend the prediction interval lines to
beyond the "range of data"?
example:
y <-c(0.4316092,0.4156757,0.3517915,0.3669508,0.3899471,0.3964143,
0.4001074,0.3851003,0.4222451,0.375324,0.3652045,0.3376978,0.383012,
0.3763665,0.3550609,0.2958
2 matches
Mail list logo