Re: [R] help with predict and plotting confidence intervals

2009-03-12 Thread Michael Denslow
Thank you for you help Dr. Winsemius. The problem seems to stem from the fact that I have used the incorrect name in the prediction dataframe. The following code seems to work correctly. Thank you again, Michael wt.data <- data.frame(code = factor(LETTERS[1:24]), area = c(60865,480,65

Re: [R] help with predict and plotting confidence intervals

2009-03-12 Thread David Winsemius
On Mar 12, 2009, at 11:45 AM, David Winsemius wrote: On Mar 12, 2009, at 11:14 AM, Michael Denslow wrote: # I am not sure how to get the lines to draw correctly here matlines(pred.frame$a,pp, lty=c(1,2,2),col="black") The x values are your sequence whereas the y values are in the sequen

Re: [R] help with predict and plotting confidence intervals

2009-03-12 Thread David Winsemius
On Mar 12, 2009, at 11:14 AM, Michael Denslow wrote: Dear R help, This seems to be a commonly asked question and I am able to run examples that have been proposed, but I can't seems to get this to work with my own data. Reproducible code is below. Thank you in advance for any help you c

[R] help with predict and plotting confidence intervals

2009-03-12 Thread Michael Denslow
Dear R help, This seems to be a commonly asked question and I am able to run examples that have been proposed, but I can't seems to get this to work with my own data. Reproducible code is below. Thank you in advance for any help you can provide. The main problem is that I can not get the confi