apa.r.compare.across.samples.from.descriptive: Report difference between correlations in markdown APA style...

View source: R/apa_correlation.R

apa.r.compare.across.samples.from.descriptiveR Documentation

Report difference between correlations in markdown APA style from different samples

Description

Report difference between correlations in markdown APA style from different samples

Usage

apa.r.compare.across.samples.from.descriptive(
  r1,
  r2,
  n1,
  n2,
  alternative = "two.sided",
  show.conf.interval = NULL,
  show.N = NULL,
  show.p = NULL,
  show.statistic = NULL
)

Arguments

r1

Correlation in sample 1

r2

Correlation in sample 2

n1

Sample size for sample 1

n2

Sample size for sample 2

alternative

Alternative hypothesis to pass to alternative argument of cocor.indep.groups. Default is "two.sided"

show.conf.interval

Show confidence interval or not (TRUE/FALSE). Default behavior is TRUE.

show.N

Show sample size or not (TRUE/FALSE). Default behavior is TRUE.

show.p

Show p-value or not (TRUE/FALSE). Default behavior is TRUE.

show.statistic

Show test statistic or not (TRUE/FALSE). Default behavior is TRUE.

Value

R Markdown text

Examples

apa.r.compare.across.samples.from.descriptive(r1 = .3, r2 =.6, n1 = 70, n2 =80)

apaText documentation built on May 31, 2023, 5:19 p.m.