GBM implements boosted trees. It works for 0/1 outcomes, count outcomes, continuous outcomes and a few others. You do not need to combine rpart and gbm. You're best bet is to just load the package and run a demo >demo(bernoulli).
________________________________ From: Changbin Du [mailto:changb...@gmail.com] Sent: Monday, April 26, 2010 9:48 AM To: r-help@r-project.org Cc: Ridgeway, Greg Subject: R.GBM package HI, Dear Greg, I AM A NEW to GBM package. Can boosting decision tree be implemented in 'gbm' package? Or 'gbm' can only be used for regression? IF can, DO I need to combine the rpart and gbm command? Thanks so much! -- Sincerely, Changbin -- __________________________________________________________________________ This email message is for the sole use of the intended r...{{dropped:9}} ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.