Gianni,
One approach could be to transform the values before presenting them to
randomForest.
logRFtrain <- log(RFtrain)

But I wonder what the reason might be for transforming your data. Why would
that affect random forest? I don't think it would, but please correct me if
I am wrong.

Robert

On Mon, Oct 12, 2009 at 6:42 PM, gianni lavaredo
<gianni.lavaredo@gmail.com>wrote:

> thanks for help
>
> I have the following expression
> log(Y) ~ log(a) + log(b)+log(c)+log(d)+log(e)..........+log(z)
>
> I wish to apply the Randomforest method (in regression) with this
> expression
>
> RF.model <- randomForest(log(Y)~ ., data=RF.train,
> ntree=100,importance=TRUE, na.action=na.omit)
> but I have problem to set-up the right part of my equation (log(a) +
> log(b)+log(c)+log(d)+log(e)..........+log(z)) in RF formula "~ .". Sorry
> for
> the question and thanks
>
> gianni
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

