powered by
Compact print method for objects of class "linear_regression". Shows R-squared, adjusted R-squared, F statistic, and p-value.
"linear_regression"
For the full detailed output, use summary().
summary()
# S3 method for linear_regression print(x, ...)
Invisibly returns the input object x.
x
An object of class "linear_regression" returned by linear_regression.
linear_regression
Additional arguments (not used).
result <- linear_regression(survey_data, life_satisfaction ~ age + income) result # compact one-line overview summary(result) # full detailed output
Run the code above in your browser using DataLab