Learn R Programming

mariposa (version 0.7.3)

print.summary.linear_regression: Print summary of linear regression results (detailed output)

Description

Displays the detailed SPSS-style output for a linear regression, with sections controlled by the boolean parameters passed to summary.linear_regression. Sections include model summary (R-squared, F-test), coefficients table (B, SE, Beta, t, p), and collinearity diagnostics (Tolerance, VIF).

Usage

# S3 method for summary.linear_regression
print(x, ...)

Value

Invisibly returns the input object x.

Arguments

x

A summary.linear_regression object created by summary.linear_regression.

...

Additional arguments (not used).

See Also

linear_regression for the main analysis, summary.linear_regression for summary options.

Examples

Run this code
result <- linear_regression(survey_data, life_satisfaction ~ age + income)
summary(result)                           # all sections
summary(result, collinearity = FALSE)     # hide VIF/Tolerance

Run the code above in your browser using DataLab