View source: R/plot_confidence_intervals.R
plot_ci | R Documentation |
Plot confidence intervals
plot_ci( daily_summary, type = c("basic", "sedentary_behavior", "time_use"), critical_value = qnorm(p = 0.05/2, lower.tail = FALSE) )
daily_summary |
a tibble, ideally the output of |
type |
the plot type, it can be |
critical_value |
the default value is a z-critical value with 95% confidence (assuming a normal distribution of the sample mean). |
A plot containing the confidence intervals of a physical activity PA descriptor in daily_summary. Each point range in the plot corresponds to a participant in a cohort.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.