apa.tstat: apa.tstat

Description Usage Arguments Value Author(s) See Also Examples

Description

APA formating for t statistic

Usage

1

Arguments

t

t statistic to be formatted

df

degrees of freedom

Value

the formatted value as a character

Author(s)

Mark Newman, mark@trinetteandmark.com

See Also

Other statistic: apa.ci, apa.pvalue, apa.zstat

Examples

1
2
3
  ts = apa.tstat(0.0342, 5)
  tss = apa.tstat(c(1.1234, 2.0007, 0.0342), c(5, 2.3, 6.006))
  # In the markdown put `r ts` or `r tss`

markanewman/apaformat documentation built on May 10, 2019, 1:19 a.m.