report_correlation: Report function for correlations

Description Usage Arguments Examples

View source: R/report_correlation.R

Description

Function to report a correlation in APA style.

Usage

1
2
report_correlation(identifier, term, term_nr,
  results = getOption("tidystats_list"))

Arguments

identifier

A character string identifying the model.

term

A character string indicating the term you want to report.

term_nr

A number indicating the term you want to report.]

results

A tidystats list.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Read in a list of results
results <- read_stats(system.file("results.csv", package = "tidystats"))

# Set the default tidystats list in options()
options(tidystats_list = results)

# Report results
report(identifier = "correlation_pearson")
report(identifier = "correlation_spearman")
report(identifier = "correlation_kendall")

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