Sorry, the previous was not right post.

I want to know the difference between following to methods of random forest.

1. epiG.rf <-randomForest(gamma~.,data=data, na.action = na.fail,ntree =
300,xtest = NULL, ytest = NULL,replace = T, proximity =F)

2. epiG.rf <-randomForest(x = data,,y = data$gamma, na.action =
na.fail,ntree = 300,xtest = NULL, ytest = NULL,replace = T, proximity =F)

which one is the correct form of random forest?

Thanls



On Sun, Oct 21, 2012 at 9:59 PM, Gyanendra Pokharel <
gyanendra.pokharel@gmail.com> wrote:

> Hi all,
> Can some one tell me the difference between the following two formulas?
>
> 1.  epiG.rf <-randomForest(gamma~.,data=data, na.action = na.fail,ntree =
> 300,xtest = NULL, ytest = NULL,replace = T, proximity =F)
> 2.epiG.rf <-randomForest(gamma~.,data=data, na.action = na.fail,ntree =
> 300,xtest = NULL, ytest = NULL,replace = T, proximity =F)
>
>
>

	[[alternative HTML version deleted]]


