: April-04-13 17:53
To: Gonzalez-Mirelis Genoveva
Cc: r-sig-geo@r-project.org
Subject: Re: [R-sig-Geo] seemingly unresolved problem with predict() in
package raster
cforest with factors are currently not supported (although they may work
in some cases). I will change the predict function to make
Many thanks for looking into this Robert!
From: Robert J. Hijmans [mailto:r.hijm...@gmail.com]
Sent: April-04-13 17:53
To: Gonzalez-Mirelis Genoveva
Cc: r-sig-geo@r-project.org
Subject: Re: [R-sig-Geo] seemingly unresolved problem with predict() in package
raster
cforest with factors
Hi all,
I have a problem with the function raster::predict very similar to the one
described here [1], [2] using raster package version 2.0-41 and party package
version 1.0-6, where my model is a conditional inference forest
(party::cforest). Could not find a solution in either post.
The
cforest with factors are currently not supported (although they may work in
some cases). I will change the predict function to make it more general by
adding a 'levels' argument such that you can indicate (for models with a
non-standard structure such as cforest) which variables are factors and