Skip to content
Prev 178287 / 398506 Next

Extracting an object name?

On Apr 24, 2009, at 9:30 PM, greggallen at gmail.com wrote:

            
That would have created an object, but would not have determined what  
it would be called on the disk when it was saved.
Right, but you do not know what the names of the models will be when  
they are loaded.
Perhaps because you have not named the object properly?
Can set up the workspace so that you assign the only lm object to a  
standardized name and then operate on that name?
Probably need to lapply(flies, load) and let them be named whatever  
they are named
Probably now need to look at the workspace with ls(...) and somehow  
get the names of all the objects of class lm.

Then lapply a predict function tomembers of that list
How will you know whose model is which, ... do do you care?
David Winsemius, MD
Heritage Laboratories
West Hartford, CT