Exploring tidysdm
Here we try our hand with the tidysdm, which is a Species Distribution Modeling (“sdm”) wrapper around and extension of the tidymodels suite of R packages. We’ll walk through the steps shown in tidysdm’s overview vignette using our Mola mola
dataset. We already have a good sense of our obseravtions and covariates so we can skip the data preparation steps.
Important
First we need to install a developmental version of tidysdm. The dev
branch is subject to a pull request; it has been accepted into the upstream repos and it will work its way into a CRAN release.
remotes::install_github("EvolEcolGroup/tidysdm", ref = "dev")
Similar to our traditional approach, we can look at the major steps of
data preparation (whihc includes thinning)
background point selection and covariate analysis
modeling