report_glm: Report method for generalized linear models

Description Usage Arguments Examples

View source: R/report_glm.R

Description

Function to report a generalized linear models in APA style.

Usage

1
2
report_glm(identifier, group = NULL, term = NULL, term_nr = NULL,
  results = getOption("tidystats_list"))

Arguments

identifier

A character string identifying the model.

group

A character string indicating the group containing the statistics you want to report.

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 results list
options(tidystats_list = results)

# Report results
report("glm_gaussian", term = "Prewt")
report("glm_gamma", term = "log(u)")
report("glm_poisson", term_nr = 2)

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