Skip to content

Function used from unloaded library #5

@cl-roberts

Description

@cl-roberts

Issue

The function median_qi() from the tidybayes library is called, but the package is not loaded

Solution

Include library(tidybayes) at beginning of script

samples <- as_tibble(pp) %>%
pivot_longer(everything(), names_to = "year", values_to = "data") %>%
na.omit() %>%
group_by(year) %>%
median_qi(data, .width = c(0.5, 0.95)) %>%
print(n=150)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions