Description Usage Arguments Value Examples
Create a sentence comparing two simple means (e.g. from simple_means)
1 |
means |
character vector of means. |
group |
grouping column (e.g. "treatment") |
comparison_string |
what word/expression do you want to use to compare the means?, Default: "vs" |
A string with the format "Mean <c2><b1> SEM unit vs Mean <c2><b1> SEM"
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
if(interactive()){
## Basic example
x <- rnorm(50 + rnorm(50))
simple_mean(x, digits = 3)
## With units
simple_mean(iris$Petal.Length, units = "cm")
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.