Learn R Programming

psytabs (version 1.0)

linearRegressionTable: Regression analysis table.

Description

Produces a table of the results of a regression analysis.

Usage

linearRegressionTable(model.fit)

Arguments

model.fit
results of a regression analysis as returned by the lm function. Additionally the robust regression functions of the robust package are supported.

Value

A linear regression table.

Examples

Run this code

data(iris)
fit <- lm(Sepal.Length ~ Petal.Width + Species, data = iris)
(tab <- linearRegressionTable(fit))

#saveTable(tab, "linearRegressionTable.rtf")

Run the code above in your browser using DataLab