[Biomod-commits] na.action in BIOMOD

Wilfried Thuiller wilfried.thuiller at ujf-grenoble.fr
Thu Oct 7 13:11:04 CEST 2010


Dear Luise,
Did you run ANN ?
What is the call for the Models function and did you get any error/ 
warnings message?
Wilfried


Le 7 oct. 10 à 12:17, Luise Neumann-Cosel a écrit :

> Hi,
>
> I am using BIOMOD version 1.1.5 (in R version 2.11.1). I trained the
> models more or less successful but i now have trouble with the
> Projection function:
>
> My command:
> Projection(Proj=swiss_data[,5:40], Proj.name="Swiss1", ANN=T, CTA=T,
> GLM=F, GBM=T, MARS=T, RF=T, SRE=T, quant=0.025,
> BinRoc=T, BinKappa=F, BinTSS=F, FiltRoc=F, FiltKappa=F, FiltTSS=F,
> repetition.models=F)
>
> results in the error message:
> Alpenschneehuhn
> Error in predict.nnet(object, Proj, type = "raw") : missing values  
> in 'x'
> In addition: Warning message:
> In rm(list = ModelName) : object 'Alpenschneehuhn_ANN_full' not found
>
> Actually, my data contains missing values. Is there any possibility to
> deal with NAs in the dataset? Can I somehow define na.action?
>
> Any help or comments would be great.
> Best,
> Luise Neumann-Cosel
> _______________________________________________
> 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
Home page: http://www.will.chez-alice.fr
Website: http://www-leca.ujf-grenoble.fr/equipes/tde.htm

FP6 European MACIS project: http://www.macis-project.net
FP6 European EcoChange project: http://www.ecochange-project.eu






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/biomod-commits/attachments/20101007/642a856e/attachment.html>


More information about the Biomod-commits mailing list