report_statistic: Report a single statistic

Description Usage Arguments Examples

View source: R/report_statistic.r

Description

A helper function to report single statistics in APA style.

Usage

1
report_statistic(statistic, value)

Arguments

statistic

A character string indicating the kind of statistic (e.g., p, t, df).

value

The value of the statistic to be reported.

Examples

1
2
3
report_statistic("p", 0.0001)
report_statistic("t", 4.2325)
report_statistic("r", 0.213)

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