Re: [R] How do I extract Random Forest Terms and Probabilities?

2013-12-05 Thread Lopez, Dan
:40 AM To: arun; R help; Lopez, Dan Subject: RE: [R] How do I extract Random Forest Terms and Probabilities? #2 can be done simply with predict(fmi, type=prob). See the help page for predict.randomForest(). Best, Andy -Original Message- From: r-help-boun...@r-project.org [mailto:r-help

Re: [R] How do I extract Random Forest Terms and Probabilities?

2013-12-05 Thread Bert Gunter
, November 26, 2013 6:57 PM To: R help Subject: Re: [R] How do I extract Random Forest Terms and Probabilities? Hi, For the first part, you could do: fmi2 - fmi attributes(fmi2$terms) - NULL capture.output(fmi2$terms) #[1] Species ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width

Re: [R] How do I extract Random Forest Terms and Probabilities?

2013-12-02 Thread Liaw, Andy
: [R] How do I extract Random Forest Terms and Probabilities? Hi, For the first part, you could do: fmi2 - fmi attributes(fmi2$terms) - NULL capture.output(fmi2$terms) #[1] Species ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width A.k. On Tuesday, November 26, 2013 3:55 PM, Lopez, Dan

[R] How do I extract Random Forest Terms and Probabilities?

2013-11-26 Thread Lopez, Dan
Hi R Experts, I need your help with two question regarding randomForest. 1. When I run a Random Forest model how do I extract the formula I used so that I can store it in a character vector in a dataframe? For example the dataframe might look like this if I am running models using the

Re: [R] How do I extract Random Forest Terms and Probabilities?

2013-11-26 Thread arun
Hi, For the first part, you could do: fmi2 - fmi attributes(fmi2$terms) - NULL capture.output(fmi2$terms) #[1] Species ~ Sepal.Length + Sepal.Width + Petal.Length + Petal.Width A.k. On Tuesday, November 26, 2013 3:55 PM, Lopez, Dan lopez...@llnl.gov wrote: Hi R Experts, I need your help