Skip to content

Commit 8c85b1c

Browse files
authored
fixed broken link
* Fixed dead link to PDF and replaced with DOI * updated archive link to include `s` in `https`
1 parent 885bd18 commit 8c85b1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

knitr/dorazio-royle-occupancy/dorazio-et-al-knitr.Rmd

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ output:
1010
In the following paper, Dorazio et al. provide a hierarchical occupancy model for "estimating species richness and accumulation by forming these community-level attributes as functions of model-based estimators of species occurence while accounting for imperfect detection of individual species."
1111

1212
<blockquote>
13-
Dorazio, R. M., Royle, J. A., Söderström, B., & Glimskär, A. (2006). [Estimating species richness and accumulation by modeling species occurrence and detectability](http://www.uvm.edu/rsenr/vtcfwru/spreadsheets/occupancy/Occupancy%20Exercises/Exercise15/Dorazio_et_al_2006.pdf). <i>Ecology</i> <b>87</b>(4), 842-854.
13+
Dorazio, R. M., Royle, J. A., Söderström, B., & Glimskär, A. (2006). [Estimating species richness and accumulation by modeling species occurrence and detectability](https://doi.org/10.1890/0012-9658(2006)87[842:ESRAAB]2.0.CO;2). <i>Ecology</i> <b>87</b>(4), 842-854.
1414
</blockquote>
1515

1616
They apply their model to estimating total numbers of butterfly species (and of birds, with a similar format to the data).
@@ -39,7 +39,7 @@ The supercommunity size parameter $S$ is just required to be large enough to enc
3939
Reading the data in requires a web connection to the publisher's web site:
4040

4141
```{r}
42-
x_csv <- read.csv("http://esapubs.org/archive/ecol/E087/050/butterflyData.txt");
42+
x_csv <- read.csv("https://esapubs.org/archive/ecol/E087/050/butterflyData.txt");
4343
n <- dim(x_csv)[1];
4444
J <- dim(x_csv)[2];
4545
x <- matrix(NA, n, J)
@@ -566,4 +566,4 @@ to the first version.
566566

567567
## Licensing
568568

569-
All code in this document is licensed via the BSD 3-clause license.
569+
All code in this document is licensed via the BSD 3-clause license.

0 commit comments

Comments
 (0)