View source: R/plot_confidence_intervals.R
plot_confidence_intervals | R Documentation |
Plot confidence intervals
plot_confidence_intervals( daily_summary, mu_varname = "mu_HR", sd_varname = "sd_HR", type = c("continuous", "categorical"), critical_value = qnorm(p = 0.05/2, lower.tail = FALSE) )
daily_summary |
a tibble, ideally the output of |
mu_varname |
a character entry indicating the column name that contains the sample means. |
sd_varname |
a character entry indicating the column name that contains the sample standard deviations. |
type |
the variable 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 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.