You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: paper.md
+224-5
Original file line number
Diff line number
Diff line change
@@ -300,30 +300,249 @@ Using a Google Form we got an overview of participants' interest in the differen
300
300
301
301
## Results
302
302
### Collaboration
303
-
Taks were efficiently distributed along the participants ([Fig. 3](#Figure_3)). In total, we collaborated with fourteen people pushing 209 commits to the main branch and 300 commits to all branches. On main, 56 files were changed and there have been 2,856 additions and 373 deletions. By the end of the hackathon, all CMD checks passed and we had a code coverage of 67%.
303
+
Taks were efficiently distributed along the participants ([Fig. 3](#Figure_3)). In total, we collaborated with fourteen people pushing 209 commits to the main branch and 300 commits to all branches. On main, 56 files were changed and there have been 2,856 additions and 373 deletions. By the end of the hackathon, we had a functional pkgdown website ([Fig. 4](#Figure_4)), all CMD checks passed and we had a code coverage of 67%.
304
304
305
305
{#Figure_3 .Figure}
306
306
307
+
{#Figure_4 .Figure}
308
+
307
309
### Package development
308
-
Wat allemaal gedaan tegen einde. Pkgdown website met readme, functies met documentation and examples; repo met code coverage enal
310
+
The package was renamed to **gcube** which stands for ‘generate cube’ since it can be used to generate biodiversity data cubes from minimal input.
309
311
310
-
([Fig. 4](#Figure_4))
312
+
```{#Code_4 .r .Code}
313
+
simulate_occurrences(
314
+
plgn,
315
+
initial_average_abundance=50,
316
+
spatial_autocorr= c("random", "clustered"),
317
+
n_time_points=1,
318
+
temporal_function=NA,
319
+
...,
320
+
seed=NA
321
+
)
322
+
```
311
323
312
-
{#Figure_4 .Figure}
324
+
```{#Code_5 .r .Code}
325
+
sample_observations(
326
+
occurrences,
327
+
detection_probability=1,
328
+
sampling_bias= c("no_bias", "polygon", "manual"),
329
+
bias_area=NA,
330
+
bias_strength=1,
331
+
bias_weights=NA,
332
+
seed=NA
333
+
)
334
+
```
313
335
314
336
### Incorporation of virtual species to the simulation workflow
315
337
- incorporation of project 8 and framework for virtualspecies
338
+
316
339
- samengevat op meeting achteraf met mensen die ermee bezig waren
317
340
341
+
## gcube workflow example
342
+
This is a basic example from the README which shows the workflow for simulating a biodiversity data cube using the **gcube** package. This is not the exact README example from the hackathon, but a cleaned version from the week after. It uses the exact code as developed during the hackathon, but at that time we did not have enough time to create a clean README example.
343
+
344
+
The workflow is divided in three steps or processes:
345
+
346
+
1. Occurrence process
347
+
2. Detection process
348
+
3. Grid designation process
349
+
350
+
The functions are set up such that a single polygon as input is enough
351
+
to go through this workflow using default arguments. The user can change
0 commit comments