[Biomod-commits] Psuedo-absence: PA.nb.rep = 0, and Raster as Factor

Wilfried Thuiller wilfried.thuiller at ujf-grenoble.fr
Tue Feb 12 15:04:42 CET 2013


> Yes, as soon as they are coded in 1 and 0. 

I meant presence as 1, and absence as 0 of course. 




> 
>> Also, I have my explanatory variables in Raster format, one of which is a categorical variable (Levels: 10,20,21,30,40,50,60,70,80,98,99):
> 
> I will let Damien answers to that one coz I am usually not playing with categorical rasters.
> 
> However, if I may give my two cents on your analysis, I was wondering how many variables to you have? Having a factor variable with 11 levels is equivalent to have 10 variables. If you have other variables, you may go into troubles for some models. GAM for instance is not made for running over lots of variables. 
> 
> Cheers
> Wilfried
> 
> 
> 
> 
> 
>> If I define it as.factor, will biomod then recognize it as such?
>> 
>> ##Define raster as factor
>> soilF<-as.factor(raster("soil.img"))
>> 
>> Thanks for your help,
>> Leon
>> 
>> _______________________________________________
>> Biomod-commits mailing list
>> Biomod-commits at lists.r-forge.r-project.org
>> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits
> 
> --------------------------
> Dr. Wilfried Thuiller
> Laboratoire d'Ecologie Alpine, UMR CNRS 5553
> Université Joseph Fourier
> BP53, 38041 Grenoble cedex 9, France
> tel: +33 (0)4 76 51 44 97
> fax: +33 (0)4 76 51 42 79
> 
> Email: wilfried.thuiller at ujf-grenoble.fr
> Personal website: http://www.will.chez-alice.fr
> Team website: http://www-leca.ujf-grenoble.fr/equipes/emabio.htm
> 
> ERC Starting Grant TEEMBIO project: http://www.will.chez-alice.fr/Research.html
> FP6 European EcoChange project: http://www.ecochange-project.eu
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Biomod-commits mailing list
> Biomod-commits at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/biomod-commits

--------------------------
Dr. Wilfried Thuiller
Laboratoire d'Ecologie Alpine, UMR CNRS 5553
Université Joseph Fourier
BP53, 38041 Grenoble cedex 9, France
tel: +33 (0)4 76 51 44 97
fax: +33 (0)4 76 51 42 79

Email: wilfried.thuiller at ujf-grenoble.fr
Personal website: http://www.will.chez-alice.fr
Team website: http://www-leca.ujf-grenoble.fr/equipes/emabio.htm

ERC Starting Grant TEEMBIO project: http://www.will.chez-alice.fr/Research.html
FP6 European EcoChange project: http://www.ecochange-project.eu









More information about the Biomod-commits mailing list