🇨🇷
Reproducible Science Workshop Notes
To include an interactive map
This is a map of Costa Rica. The capital is San Jose!
DyGraphs Example
kable_styling Example
| mpg | cyl | disp | hp | drat | wt | qsec | vs | am | gear | carb | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Mazda RX4 | 21.0 | 6 | 160 | 110 | 3.90 | 2.620 | 16.46 | 0 | 1 | 4 | 4 |
| Mazda RX4 Wag | 21.0 | 6 | 160 | 110 | 3.90 | 2.875 | 17.02 | 0 | 1 | 4 | 4 |
| Datsun 710 | 22.8 | 4 | 108 | 93 | 3.85 | 2.320 | 18.61 | 1 | 1 | 4 | 1 |
| Hornet 4 Drive | 21.4 | 6 | 258 | 110 | 3.08 | 3.215 | 19.44 | 1 | 0 | 3 | 1 |
| Hornet Sportabout | 18.7 | 8 | 360 | 175 | 3.15 | 3.440 | 17.02 | 0 | 0 | 3 | 2 |
| Valiant | 18.1 | 6 | 225 | 105 | 2.76 | 3.460 | 20.22 | 1 | 0 | 3 | 1 |
kableExtra Example
| mpg | cyl | disp | hp | drat | wt | |
|---|---|---|---|---|---|---|
| Mazda RX4 | 21.0 | 6 | 160.0 | 110 | 3.90 | 2.620 |
| Mazda RX4 Wag | 21.0 | 6 | 160.0 | 110 | 3.90 | 2.875 |
| Datsun 710 | 22.8 | 4 | 108.0 | 93 | 3.85 | 2.320 |
| Group 1 | ||||||
| Hornet 4 Drive | 21.4 | 6 | 258.0 | 110 | 3.08 | 3.215 |
| Hornet Sportabout | 18.7 | 8 | 360.0 | 175 | 3.15 | 3.440 |
| Valiant | 18.1 | 6 | 225.0 | 105 | 2.76 | 3.460 |
| Duster 360 | 14.3 | 8 | 360.0 | 245 | 3.21 | 3.570 |
| Group 2 | ||||||
| Merc 240D | 24.4 | 4 | 146.7 | 62 | 3.69 | 3.190 |
| Merc 230 | 22.8 | 4 | 140.8 | 95 | 3.92 | 3.150 |
| Merc 280 | 19.2 | 6 | 167.6 | 123 | 3.92 | 3.440 |
This is how you can add a flow chart to your quarto file
flowchart A[set workdir] --> B(GBIF) B --> C(Find\nSchroderder\nperiodicity) C --> D(Detecting\nperiods\nwith\nautocorrelation) D --> E(Calculate\naverage\nSchroeder) style A fill:#44015466 style B fill:#3E4A894D style C fill:#26828E4D style D fill:#6DCD594D
To include your session info. This is good for reproducible science!!
sessionInfo()R version 4.3.1 (2023-06-16)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.6.6
Matrix products: default
BLAS: /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/lib/libRblas.0.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
time zone: America/Costa_Rica
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] kableExtra_1.4.0 dygraphs_1.1.1.6 leaflet_2.2.2
loaded via a namespace (and not attached):
[1] jsonlite_1.8.8 highr_0.10 compiler_4.3.1 crayon_1.5.2
[5] xml2_1.3.6 stringr_1.5.1 assertthat_0.2.1 jquerylib_0.1.4
[9] systemfonts_1.0.6 scales_1.3.0 yaml_2.3.8 fastmap_1.1.1
[13] lattice_0.22-6 R6_2.5.1 generics_0.1.3 knitr_1.45
[17] htmlwidgets_1.6.4 munsell_0.5.1 lubridate_1.9.3 svglite_2.1.3
[21] rlang_1.1.3 stringi_1.8.3 xfun_0.43 viridisLite_0.4.2
[25] timechange_0.3.0 cli_3.6.2 magrittr_2.0.3 crosstalk_1.2.1
[29] xts_0.13.2 digest_0.6.35 grid_4.3.1 rstudioapi_0.16.0
[33] lifecycle_1.0.4 vctrs_0.6.5 evaluate_0.23 glue_1.7.0
[37] emo_0.0.0.9000 zoo_1.8-12 colorspace_2.1-0 rmarkdown_2.26
[41] purrr_1.0.2 tools_4.3.1 htmltools_0.5.8.1
Workshop: Reproducible Science Day 3~ Marcelo Araya-Salas
April 25, 2024
# From github
devtools::install_github("maRce10/sketchy")
# load package
library(sketchy)
path = tempdir()
make_compendium(
name = "OTS_REP_Compendium",
path = "/Users/jharden946/Desktop/OTS_REU_OS_2024"
, format = "sketchy", git = true)
# Rproj= TRUE # you can also use this arguement when starting a project using R