Publications by Beni Stocker

Document

26.01.2023

knitr::opts_chunk$set(echo = TRUE) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(readr) library(tidyr) library(ggplot2) library(lubridate) ## ## Attach...

906 sym R (4811 sym/29 pcs) 5 img

Document

13.01.2023

Problem Wieviele paarweise Interaktionen \(K\) gibt es in einer gruppe von \(N\) Personen? Lösung \[ K = \sum_{i=1}^N N - i \] Code library(dplyr) library(purrr) library(ggplot2) renato_function <- function(n){ renato_sum <- 0 for (i in 1:n){ renato_sum <- renato_sum + n - i } return(as.integer(renato_sum)) } df <- tibble(gruppen...

143 sym R (469 sym/1 pcs) 1 img

Document

11.10.2022

Linear model Assume a 60-days dry down event with the following setup: The initial water available to plants across the rooting zone, \(S_0\) is 100 mm. ET (termed \(T\), since it’s only transpiration here) is a linear function of the remaining water stored \(S_t\) and is independent of VPD. \[ T(t) = \alpha S(t)/S_0 \] The change in plant-ava...

2932 sym 25 img

Document

22.10.2022

Ning Dong’s data The data used here is this leaf photosynthetic traits and N dataset: Data reference Dong, Ning, Prentice, Iain Colin, Wright, Ian, Wang, Han, Atkin,Owen, Bloomfield, Keith, Domingues, Tomas, Gleason, Sean, Maire, Vincent, Onoda, Yusuke, Poorter, Hendrik, & Smith, Nicholas. (2022). dataset for paper “Leaf nitrogen from the per...

1832 sym 3 img 6 tbl

Document

26.10.2022

library(tidyverse) # for working with ease ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.3.6 ✔ purrr 0.3.4 ## ✔ tibble 3.1.8 ✔ dplyr 1.0.10 ## ✔ tidyr 1.2.0 ✔ stringr 1.4.1...

6319 sym R (23518 sym/92 pcs) 30 img 6 tbl

Document

31.10.2022

Ning Dong’s data The data used here is this leaf photosynthetic traits and N dataset: Data reference Dong, Ning, Prentice, Iain Colin, Wright, Ian, Wang, Han, Atkin,Owen, Bloomfield, Keith, Domingues, Tomas, Gleason, Sean, Maire, Vincent, Onoda, Yusuke, Poorter, Hendrik, & Smith, Nicholas. (2022). dataset for paper “Leaf nitrogen from the per...

4777 sym R (22364 sym/65 pcs) 17 img 6 tbl

Document

31.10.2022

library(tidyverse) # for working with ease ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.3.6 ✔ purrr 0.3.4 ## ✔ tibble 3.1.8 ✔ dplyr 1.0.10 ## ✔ tidyr 1.2.0 ✔ stringr 1.4.1...

2218 sym R (6863 sym/22 pcs) 6 img

Document

31.10.2022

library(tidyverse) # for working with ease ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ── ## ✔ ggplot2 3.3.6 ✔ purrr 0.3.4 ## ✔ tibble 3.1.8 ✔ dplyr 1.0.10 ## ✔ tidyr 1.2.0 ✔ stringr 1.4.1...

816 sym R (4349 sym/14 pcs) 1 img

Document

02.11.2022

library(tidyverse) # for working with ease Read data The MESI data. df <- read_csv("../data/mesi_main.csv") ## Warning: One or more parsing issues, see `problems()` for details The GCME data (from a version of the db obtained by Kevin on 2019 03 25, eported tabs as CSV and read here). df_gcme_data <- read_csv("../data-raw/table_var_exp_names_D...

1012 sym R (7409 sym/21 pcs) 14 tbl

Document

02.11.2022

library(tidyverse) # for working with ease Read data The MESI data. df <- read_csv("../data/mesi_main.csv") ## Warning: One or more parsing issues, see `problems()` for details The Liang et al. data can be obtained as an Excel file from here: https://doi.org/10.1111/gcb.15071. I first exported each excel tab to a separate CSV file and then co...

1142 sym R (5734 sym/12 pcs) 2 tbl