Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

JSmediation (version 0.2.3)

apastylr: Creates an APA formatted report from a significance test

Description

Create an APA formatted report from the test of a specific term in a linear model.

Usage

apastylr(model, term)

Value

An APA formatted character string.

Arguments

model

A linear model created using lm().

term

A character string representing a term in the linear model.

Examples

Run this code

data(ho_et_al)
test <- lm(hypodescent ~ linkedfate, ho_et_al)
apastylr(test, "linkedfate")

Run the code above in your browser using DataLab