report_descriptives: Report descriptives helper functions

Description Usage Arguments Examples

Description

Report descriptives helper functions

Usage

1
2
3
4
5
M(identifier, var = NULL, group = NULL,
  results = getOption("tidystats_list"))

SD(identifier, var = NULL, group = NULL,
  results = getOption("tidystats_list"))

Arguments

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.

Examples

 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")

WillemSleegers/tidystats-v0.3 documentation built on Aug. 12, 2019, 5:31 p.m.