@@ -65,18 +65,12 @@ remotes::install_github("marlonecobos/kuenm")
6565remotes :: install_github(" mrmaxent/maxnet" )
6666```
6767
68- # Shiny app
69-
70- A shiny application currently available at:
71- < https://github.com/Model-R/modleR_shiny_app > uses a previous version of
72- this workflow and is currently being updated to this newest version.
73-
7468# The workflow
7569
7670The workflow consists of mainly four functions that should be used
7771sequentially.
7872
79- ![ ] ( vignettes/fig01_workflow.jpg ) <!-- -- >
73+ < img src = " vignettes/fig01_workflow.jpg " width = " 645 " / >
8074
81751 . Setup: ` setup_sdmdata() ` prepares and cleans the data, samples the
8276 pseudoabsences, and organizes the experimental design (bootstrap,
@@ -186,8 +180,12 @@ for (i in 1:length(example_occs)) {
186180par(mfrow = c(1 , 1 ))
187181```
188182
189- ![ Figure 1. The example dataset: predictor variables and occurrence for
190- four species.] ( man/figures/README-dataset-1.png )
183+ <figure >
184+ <img src="man/figures/README-dataset-1.png"
185+ alt="Figure 1. The example dataset: predictor variables and occurrence for four species." />
186+ <figcaption aria-hidden =" true " >Figure 1. The example dataset: predictor
187+ variables and occurrence for four species.</figcaption >
188+ </figure >
191189
192190We will filter the ` example_occs ` file to select only the data for the
193191first species:
@@ -298,8 +296,9 @@ sdmdata_1sp <- setup_sdmdata(species_name = species[1],
298296# > Applying buffer
299297# > Warning in RGEOSDistanceFunc(spgeom1, spgeom2, byid, "rgeos_distance"): Spatial
300298# > object 1 is not projected; GEOS expects planar coordinates
301- # > Warning in rgeos::gBuffer(spgeom = occurrences, byid = FALSE, width = dist.buf):
302- # > Spatial object is not projected; GEOS expects planar coordinates
299+ # > Warning: GEOS support is provided by the sf and terra packages among others
300+ # > Warning in rgeos::gBuffer(spgeom = occurrences, byid = FALSE, width =
301+ # > dist.buf): Spatial object is not projected; GEOS expects planar coordinates
303302# > sampling pseudoabsence points with mean buffer
304303# > selecting variables...
305304# > No variables were excluded with cutoff = 0.7
@@ -463,7 +462,7 @@ At the end of a modeling round, the partition folder containts:
463462There are many ways to create a final model per algorithm per species.
464463` final_model() ` follows the following logic:
465464
466- ![ ] ( vignettes/fig05_finalmodel.png ) <!-- -- >
465+ < img src = " vignettes/fig05_finalmodel.png " width = " 343 " / >
467466
468467- The partitions that will be joined can be the raw, uncut models, or
469468 the binary models from the previous step, they form a
@@ -555,9 +554,9 @@ ens <- ensemble_model(species_name = species[1],
555554 which_final = " raw_mean" ,
556555 models_dir = test_folder ,
557556 overwrite = TRUE ) # argument from writeRaster
558- # > [1] "Tue Nov 29 11:45:53 2022 "
557+ # > [1] "Thu Aug 3 11:36:24 2023 "
559558# > [1] "DONE!"
560- # > [1] "Tue Nov 29 11:46:08 2022 "
559+ # > [1] "Thu Aug 3 11:36:36 2023 "
561560```
562561
563562``` r
0 commit comments