[R-sig-eco] Categorical variables Maxent dismo
Diego Guevara
dguev@r@ @end|ng |rom corb|d|@org
Fri Jan 15 11:38:03 CET 2021
Hola Irene
I have been learning Maxent this week. In my case I have one categorical
variable. I tried the ENMeval package there is an option to name
categoricals="your variable". On the dismo package I think you have to
pred_nf <- dropLayer(predictors, 'Fence') to do the training and background
and then in the model you attached them again.
xm <- maxent(predictors, pres_train, factors='Fence')
I don't know how it works statistically. But I hope it helps.
Cheers
Diego
El vie, 15 ene 2021 a las 19:33, Irene Rojo (<ire.rojo using gmail.com>) escribió:
> Dear all,
>
> I am running Maxent models with dismo package. I have several categorical
> variables, which have been specified in the model as factors, but the
> output gives me only the contribution of the whole variable and not the
> category. Is there a way that the analysis reports the category of the
> variable which contributes the most? I have not been able to find how to do
> it.
>
> Thanks a lot,
>
> Irene
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
>
[[alternative HTML version deleted]]
More information about the R-sig-ecology
mailing list