[Biomod-commits] Project a single model

Joaquin DL jduquelazo at gmail.com
Tue Apr 30 12:50:16 CEST 2013


Dear all,
Thanks

I figured it out like this
BIOMOD_LoadModels(myBiomodModelOut, models='FDA', run.eval='RUN11'),

Thank you!
Cheers
Joaquin



2013/4/30 Joaquin DL <jduquelazo at gmail.com>

> Dear all,
>
> I am trying to project a single model using the BIOMOD_Projection and
> BIOMOD_LoadModels function.
>
> BIOMOD_LoadModels functions requires a model description as "RF", but i
> would like to load a single model like Test_AllData_Run 19_RF.
>
>
> I am trying like this:
>
> myBiomodProj <- BIOMOD_Projection(
>   modeling.output = myBiomodModelOut ,
>   new.env = myExpl ,
>   proj.name = 'current' ,
>   xy.new.env = NULL ,
>   selected.models = BIOMOD_LoadModels(myBiomodModelOut,
> models='Test_AllData_RUN11_FDA'),
>   binary.meth = 'ROC',
>   filtered.meth = NULL,
>   compress = 'xz', ##‘xz’, ‘gzip’, NULL
>   build.clamping.mask = FALSE,
>   clamping.mask = FALSE,
>   do.stack = FALSE,
>   output.format='.img')
>
> and also like this
>
> myBiomodProj <- BIOMOD_Projection(
>   modeling.output = myBiomodModelOut ,
>   new.env = myExpl ,
>   proj.name = 'current' ,
>   xy.new.env = NULL ,
>   selected.models =
> grep('Test_AllData_RUN11_FDA',getModelsBuiltModels(myBiomodModelOut)),
>   binary.meth = 'ROC',##'all', c('KAPPA', 'TSS', 'ROC','FAR', 'SR',
> 'ACCURACY', 'BIAS', 'POD', 'CSI', 'ETS')
>   filtered.meth = NULL,
>   compress = 'xz', ##‘xz’, ‘gzip’, NULL
>   build.clamping.mask = FALSE,
>   clamping.mask = FALSE,
>   do.stack = FALSE,
>   output.format='.img')
>
> But neither of them works.
>
> Any idea how could I do it?
>
> Thank you very much in advance for your help.
>
> Joaquín
>


More information about the Biomod-commits mailing list