Skip to content

Commit bddf135

Browse files
committed
Added package logo
1 parent f13677e commit bddf135

File tree

5 files changed

+34
-29
lines changed

5 files changed

+34
-29
lines changed

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ knitr::opts_chunk$set(
1313
)
1414
```
1515

16-
# ssarp
16+
# ssarp <a href="https://kmartinet.github.io/ssarp/"><img src="man/figures/logo.png" align="right" height="300" alt="ssarp website" /></a>
1717

1818
<!-- badges: start -->
1919
[![Codecov test coverage](https://codecov.io/gh/kmartinet/ssarp/branch/main/graph/badge.svg)](https://codecov.io/gh/kmartinet/ssarp?branch=main)

README.md

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
<!-- README.md is generated from README.Rmd. Please edit that file -->
33

4-
# ssarp
4+
# ssarp <a href="https://kmartinet.github.io/ssarp/"><img src="man/figures/logo.png" align="right" height="300" alt="ssarp website" /></a>
55

66
<!-- badges: start -->
77

@@ -185,13 +185,13 @@ head(land_dat, n = 5)
185185
#> 3 Anolis roquet (Bonnaterre, 1789) Anolis
186186
#> 4 Anolis roquet (Bonnaterre, 1789) Anolis
187187
#> 5 Anolis cristatellus Duméril & Bibron, 1837 Anolis
188-
#> specificEpithet decimalLongitude decimalLatitude First Second
188+
#> specificEpithet decimalLongitude decimalLatitude first second
189189
#> 1 hispaniolae -70.59716 19.09851 Dominican Republic <NA>
190190
#> 2 distichus -68.40635 18.67363 Dominican Republic <NA>
191191
#> 3 roquet -60.89301 14.77053 Martinique <NA>
192192
#> 4 roquet -60.89301 14.77053 Martinique <NA>
193193
#> 5 cristatellus -66.12385 18.47122 <NA> <NA>
194-
#> Third datasetKey
194+
#> third datasetKey
195195
#> 1 <NA> 50c9509d-22c7-4a22-a47d-8c48425ef4a7
196196
#> 2 <NA> 50c9509d-22c7-4a22-a47d-8c48425ef4a7
197197
#> 3 <NA> 50c9509d-22c7-4a22-a47d-8c48425ef4a7
@@ -235,13 +235,13 @@ head(area_dat, n = 5)
235235
#> 3 Anolis roquet (Bonnaterre, 1789) Anolis
236236
#> 4 Anolis roquet (Bonnaterre, 1789) Anolis
237237
#> 8 Anolis evermanni Stejneger, 1904 Anolis
238-
#> specificEpithet decimalLongitude decimalLatitude First Second
238+
#> specificEpithet decimalLongitude decimalLatitude first second
239239
#> 1 hispaniolae -70.59716 19.09851 Dominican Republic <NA>
240240
#> 2 distichus -68.40635 18.67363 Dominican Republic <NA>
241241
#> 3 roquet -60.89301 14.77053 Martinique <NA>
242242
#> 4 roquet -60.89301 14.77053 Martinique <NA>
243243
#> 8 evermanni -66.31459 18.29657 Puerto Rico <NA>
244-
#> Third datasetKey areas
244+
#> third datasetKey areas
245245
#> 1 <NA> 50c9509d-22c7-4a22-a47d-8c48425ef4a7 83104562500
246246
#> 2 <NA> 50c9509d-22c7-4a22-a47d-8c48425ef4a7 83104562500
247247
#> 3 <NA> 50c9509d-22c7-4a22-a47d-8c48425ef4a7 1190000000
@@ -280,20 +280,20 @@ create_sar(occurrences = area_dat, npsi = 1, visualize = TRUE)
280280
#> segmented.lm(obj = linear, seg.Z = ~x, npsi = 1, control = segmented::seg.control(display = FALSE))
281281
#>
282282
#> Estimated Break-Point(s):
283-
#> Est. St.Err
284-
#> psi1.x 21.845 0.716
283+
#> Est. St.Err
284+
#> psi1.x 21.82 0.712
285285
#>
286286
#> Coefficients of the linear terms:
287287
#> Estimate Std. Error t value Pr(>|t|)
288-
#> (Intercept) -0.24285 1.00393 -0.242 0.810
289-
#> x 0.05469 0.05368 1.019 0.316
290-
#> U1.x 0.73913 0.21326 3.466 NA
288+
#> (Intercept) -0.09719 0.99566 -0.098 0.923
289+
#> x 0.04734 0.05324 0.889 0.381
290+
#> U1.x 0.74262 0.21150 3.511 NA
291291
#>
292-
#> Residual standard error: 0.5587 on 32 degrees of freedom
293-
#> Multiple R-Squared: 0.6536, Adjusted R-squared: 0.6211
292+
#> Residual standard error: 0.5541 on 32 degrees of freedom
293+
#> Multiple R-Squared: 0.6533, Adjusted R-squared: 0.6208
294294
#>
295-
#> Boot restarting based on 8 samples. Last fit:
296-
#> Convergence attained in 2 iterations (rel. change 6.4306e-09)
295+
#> Boot restarting based on 6 samples. Last fit:
296+
#> Convergence attained in 2 iterations (rel. change 6.6315e-12)
297297

298298
This is the species-area relationship (SAR) for Anolis including
299299
island-based occurrences within a polygon around Caribbean islands from
@@ -303,14 +303,16 @@ statistical information about the model.
303303

304304
### A Note About Spatial Autocorrelation
305305

306-
Species-area relationships (SARs) and speciation-area relationships (SpARs) are
307-
impacted by the environmental and spatial characteristics of the islands (or
308-
island-like areas) of interest. When inferring SARs and SpARs, researchers
309-
typically treat these effects as part of the broader biogeographic processes
310-
that are captured by the SARs and SpARs (Triantis et al. 2012). However,
311-
ignoring spatial effects when inferring SARs and SpARs can result in biased
312-
parameter estimates (Barros et al. 2023). Please refer to
313-
[this vignette to learn more about how to test for spatial autocorrelation when using `ssarp` to create SARs and SpARs](https://kmartinet.github.io/ssarp/articles/Spatial_Autocorrelation.html).
306+
Species-area relationships (SARs) and speciation-area relationships
307+
(SpARs) are impacted by the environmental and spatial characteristics of
308+
the islands (or island-like areas) of interest. When inferring SARs and
309+
SpARs, researchers typically treat these effects as part of the broader
310+
biogeographic processes that are captured by the SARs and SpARs
311+
(Triantis et al. 2012). However, ignoring spatial effects when inferring
312+
SARs and SpARs can result in biased parameter estimates (Barros et
313+
al. 2023). Please refer to [this vignette to learn more about how to
314+
test for spatial autocorrelation when using `ssarp` to create SARs and
315+
SpARs](https://kmartinet.github.io/ssarp/articles/Spatial_Autocorrelation.html).
314316

315317
### Workflow Summary for using data from GBIF to create a species-area relationship plot
316318

@@ -399,9 +401,10 @@ polygons nested within others or polygons with holes in the middle.
399401

400402
#### Literature Cited
401403

402-
- Barros, D.D., Mathias, M.d.L., Borges, P.A.V., & Borda-de-Água, L. (2023). The
403-
Importance of Including Spatial Autocorrelation When Modelling Species
404-
Richness in Archipelagos: A Bayesian Approach. Diversity, 15: 127.
404+
- Barros, D.D., Mathias, M.d.L., Borges, P.A.V., & Borda-de-Água, L.
405+
(2023). The Importance of Including Spatial Autocorrelation When
406+
Modelling Species Richness in Archipelagos: A Bayesian Approach.
407+
Diversity, 15: 127.
405408
- Jetz, W., Thomas, G.H, Joy, J.B., Harmann, K., & Mooers, A.O. (2012).
406409
The global diversity of birds in space and time. *Nature*, 491:
407410
444-448.
@@ -414,6 +417,6 @@ polygons nested within others or polygons with holes in the middle.
414417
Brown, J.W., Huang, H., & Larson, J.G. (2014). BAMMtools: an R package
415418
for the analysis of evolutionary dynamics on phylogenetic trees.
416419
Methods in Ecology and Evolution, 5: 701-707.
417-
- Triantis, K.A., Guilhaumon, F., & Whittaker, R.J. (2012), The island
418-
species–area relationship: biology and statistics. Journal of Biogeography,
419-
39: 215-231.
420+
- Triantis, K.A., Guilhaumon, F., & Whittaker, R.J. (2012), The island
421+
species–area relationship: biology and statistics. Journal of
422+
Biogeography, 39: 215-231.

man/SSARP-package.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
21.5 KB
Loading

man/figures/logo.png

79.4 KB
Loading

0 commit comments

Comments
 (0)