Learn R Programming

tidystats (version 0.3)

report_chi_squared: Report function for a chi-squared test

Description

Function to report a chi-squared test in APA style.

Usage

report_chi_squared(identifier, results = getOption("tidystats_list"))

Arguments

identifier

A character string identifying the model.

results

A tidystats list.

Examples

Run this code
# NOT RUN {
# 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 = "chi_squared")
report(identifier = "chi_squared_yates")

# }

Run the code above in your browser using DataLab