Skip to content

docs: create a 95% confidence interval of the mean #1014

Open
@davidhodge931

Description

@davidhodge931
library(tidyverse)
library(ggblanket)

set_blanket()

tidyplots::time_course %>%
  gg_lineribbon(
    x = day, 
    y = score,
    col = treatment,
    stat = "summary",
    blend = "multiply",
    fun.data = \(x) mean_se(x, mult = 1.96),
    coord = coord_cartesian(ylim = c(0, NA)),
  )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @davidhodge931

        Issue actions

          docs: create a 95% confidence interval of the mean · Issue #1014 · davidhodge931/ggblanket