Skip to contents
library(tidyverse)
#> ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
#>  dplyr     1.1.2      readr     2.1.4
#>  forcats   1.0.0      stringr   1.5.0
#>  ggplot2   3.4.3      tibble    3.2.1
#>  lubridate 1.9.2      tidyr     1.3.0
#>  purrr     1.0.2     
#> ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
#>  dplyr::filter() masks stats::filter()
#>  dplyr::lag()    masks stats::lag()
#>  Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
here::here()
#> [1] "/home/runner/work/rcompendiumtest5/rcompendiumtest5"

my text

incidence plot

knitr::include_graphics(here::here("figures/02-plot_incidence.png"))

knitr::include_graphics(here::here("../figures/02-plot_incidence.png"))
#> Error in knitr::include_graphics(here::here("../figures/02-plot_incidence.png")): Cannot find the file(s): "../../figures/02-plot_incidence.png"
knitr::include_graphics("../figures/02-plot_incidence.png")

knitr::include_graphics("../../figures/02-plot_incidence.png")
#> Error in knitr::include_graphics("../../figures/02-plot_incidence.png"): Cannot find the file(s): "../../figures/02-plot_incidence.png"
read_rds(here::here("outputs/03-estimate_cfr.rds"))
#>         cfr severity_me severity_lo severity_hi
#> 1     naive   0.4615385   0.3632788   0.5620451
#> 2 corrected   0.4920000   0.3660000   0.6440000