I would like to calculate environmental niche optimum and niche breadth in e-space based on Broennimann's ecospat R package. These calculations are not performed in the package, but others (e.g. Theodoridis et al., 2013; Kirchheimer et al., 2016) have calculated the metrics using the output of the ecospat function "ecospat.grid.clim.dyn." I've been using R for the last year, but am still a beginner, and am not confident on my ability to write an R script to do this. Does anyone know any R packages or other software that does this? Or is anyone willing to share a script that they have used to do so?
Thanks!