diff --git a/_pkgdown.yml b/_pkgdown.yml index 179f2e12..1663f957 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -16,6 +16,14 @@ authors: Sam Abbott: href: "https://www.samabbott.co.uk/" +navbar: + structure: + left: [reference, paper, articles, changelog] + right: [search, github] + components: + paper: + text: "scoringutils paper" + href: https://raw.githubusercontent.com/epiforecasts/scoringutils/main/inst/manuscript/manuscript.pdf reference: - title: Package documentation diff --git a/inst/manuscript/manuscript.Rmd b/inst/manuscript/manuscript.Rmd index d5b04dce..fdfbfe58 100644 --- a/inst/manuscript/manuscript.Rmd +++ b/inst/manuscript/manuscript.Rmd @@ -537,6 +537,9 @@ example_sample_continuous[horizon == 2] |> as_forecast() |> score() |> summarise_scores(by = c("model", "location", "target_type")) |> + summarise_scores( + by = c("model", "location", "target_type"), + fun = signif, digits = 2) |> plot_heatmap(x = "location", metric = "bias") + facet_wrap(~ target_type) ``` diff --git a/inst/manuscript/manuscript.pdf b/inst/manuscript/manuscript.pdf index 19756fb0..e66b483a 100644 Binary files a/inst/manuscript/manuscript.pdf and b/inst/manuscript/manuscript.pdf differ diff --git a/inst/manuscript/manuscript.tex b/inst/manuscript/manuscript.tex index f0eb3599..2a3187e5 100644 --- a/inst/manuscript/manuscript.tex +++ b/inst/manuscript/manuscript.tex @@ -1219,6 +1219,9 @@ \subsubsection{Heatmaps}\label{heatmaps} + as_forecast() |> + score() |> + summarise_scores(by = c("model", "location", "target_type")) |> ++ summarise_scores( ++ by = c("model", "location", "target_type"), ++ fun = signif, digits = 2) |> + plot_heatmap(x = "location", metric = "bias") + + facet_wrap(~ target_type) \end{CodeInput}