search for: cart_kyphosis

Displaying 1 result from an estimated 1 matches for "cart_kyphosis".

2011 Apr 22
3
Parametrized object name in Save statement
...""),rpart(X, method="class", data=kyphosis)) #NOW MY TROUBLE. I have an rpart object but cannot save it under a file name that incorporates the parameter #Here is the file name file<-paste("cart_",args, sep ="") #hard coding the rpart object works save(cart_Kyphosis, file = file) However when I try to use the main parameter to accomplish this i get an error save(paste("cart_",args, sep =""), file = file) #I get Error in save(paste("cart_", args, sep = ""), file = file) : object 'paste("cart_", args, s...