Description Usage Arguments Examples
Report descriptives helper functions
1 2 3 4 5 |
identifier |
A character string identifying the descriptives. |
var |
A character string identifying the exact variable, if needed. |
group |
A character string identifiying the group, if needed. |
results |
A tidystats list. |
1 2 3 4 5 6 7 8 9 10 11 12 | # Read in a list of results
descriptives <- read_stats(system.file("descriptives.csv",
package = "tidystats"))
options(tidystats_list = descriptives)
# Report the mean
M("D4_avoidance")
M("D5_avoidance_anxiety", var = "avoidance")
# Report the standard deviation
SD("D4_avoidance")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.