Publications by Beni Stocker
Document
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(tidyr) library(ggplot2) library(rgdal) # for readOGR ## Loading required package: sp ## Please note that rg...
350 sym R (3302 sym/11 pcs) 2 img
Document
Net radiation as forcing? Check whether sufficient sites have net radiation data. filnam <- "~/rsofun/data/df_fluxnet.rds" if (!file.exists(filnam)){ df_fluxnet <- suppressWarnings( suppressMessages( ingestr::ingest( siteinfo = ingestr::siteinfo_fluxnet2015, source = "fluxnet", getvars = lis...
261 sym Python (1549 sym/6 pcs) 2 img 2 tbl
Document
Net radiation as forcing Read data Check whether sufficient sites have net radiation data. filnam <- "./data/df_fluxnet.rds" if (!file.exists(filnam)){ df_fluxnet <- ingest( siteinfo = ingestr::siteinfo_fluxnet2015, source = "fluxnet", getvars = list( netrad = "NETRAD", ppfd = "SW_IN_F", temp = "TA_F_DAY" ...
1921 sym Python (8554 sym/26 pcs) 10 img 1 tbl
Document
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
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
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
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
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
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
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