Re: [R-sig-Geo] seemingly unresolved problem with predict() in package raster

2013-04-09 Thread Robert J. Hijmans
: 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

Re: [R-sig-Geo] seemingly unresolved problem with predict() in package raster

2013-04-05 Thread Gonzalez-Mirelis Genoveva
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

[R-sig-Geo] seemingly unresolved problem with predict() in package raster

2013-04-04 Thread Gonzalez-Mirelis Genoveva
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

Re: [R-sig-Geo] seemingly unresolved problem with predict() in package raster

2013-04-04 Thread Robert J. Hijmans
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