Re: [R] Help on how to use predict

2011-08-15 Thread Eduardo M. A. M.Mendes
: Eduardo M. A. M.Mendes; r-help@r-project.org Subject: Re: [R] Help on how to use predict On 11-08-15 12:21 PM, David Winsemius wrote: > Eduardo; > > I think you would be more successful if you put your data in a > dataframe, offered it to lm with column names only in the formula, and >

Re: [R] Help on how to use predict

2011-08-15 Thread Duncan Murdoch
On 11-08-15 12:21 PM, David Winsemius wrote: Eduardo; I think you would be more successful if you put your data in a dataframe, offered it to lm with column names only in the formula, and then used the newdata argument with predict with the column names matching the column names in the original

Re: [R] Help on how to use predict

2011-08-15 Thread David Winsemius
Eduardo; I think you would be more successful if you put your data in a dataframe, offered it to lm with column names only in the formula, and then used the newdata argument with predict with the column names matching the column names in the original data. -- David. On Aug 15, 2011, at 5