I have a randomForest object that I want to save for later use. I’ve tried some of the following but with no luck.
save(topDawg , file="myRFobject.RData")
This just saves a string “topDawg”
> formula(topDawg)
Error in formula.default(topDawg) : invalid formula
> save(getTree(topDawg))
Error in save(getTree(topDawg)) : object ‘getTree(topDawg)’ not found
Any suggestions?
I’m not sure exactly what you’re trying to do here, since normally you
savean object and thenloadit later, like this: