reg_interpret: Simple Linear Regression with Plain-English Interpretation

View source: R/reg_interpret.R

reg_interpretR Documentation

Simple Linear Regression with Plain-English Interpretation

Description

Simple Linear Regression with Plain-English Interpretation

Usage

reg_interpret(formula, data, conf.level = 0.95)

Arguments

formula

A formula of the form outcome ~ predictor

data

A data frame containing the variables

conf.level

Confidence level. Default 0.95.

Value

An object of class statease_reg containing regression results and interpretation. Use print() to display the formatted report.

Examples

df <- data.frame(
  exam_score = c(23,45,12,67,34,89,56,43,78,90),
  study_hours = c(2,5,1,7,3,9,6,4,8,10)
)
result <- reg_interpret(exam_score ~ study_hours, data = df)
print(result)

statease documentation built on June 7, 2026, 5:06 p.m.