Learn R Programming

quickReg (version 1.0.0)

dataframe.reg: Retrieve a data.frame result of univariate regression

Description

Return a concentrated result of univariate regression models.

Usage

"dataframe"(x, save = FALSE, file = NULL, sep = ",", row.names = FALSE, ...)

Arguments

x
A reg object
save
A logical, whether to save the concentrated result
file
A character string naming a file, see write.table for more details, the default filepath is current working directory and the filename is the current time.
sep, row.names, ...
See write.table for more details

See Also

reg

Examples

Run this code
reg_glm<-reg(data = diabetes, x=c(1:4),y = 5,
factor = c(1, 3, 4), model = 'glm')

dataframe(reg_glm)
# dataframe(reg_glm, save = TRUE)
# dataframe(reg_glm, file = "C:/reg_glm_out.csv")

Run the code above in your browser using DataLab