summary the result of univariate regression

Description

return summary information of univariate regression.

Usage

1
2
3
## S3 method for class 'reg'
display(x, cuts = c(0.001, 0.01, 0.05, 0.1, 1),
  all_var = TRUE, ...)

Arguments

x

A reg object

cuts

A vector of significance values.

all_var

A logical, whether to display all variables at specific p value cut-off, if FALSE, only display the first 10 variables

...

additional arguments

Value

Summary information of significant varibles.

See Also

dataframe.reg, display, display.reg

Examples

1
2
3
reg_glm<-reg(data = diabetes, y = 5, factor = c(1, 3, 4), model = 'glm')
display(reg_glm)
display(reg_glm, all_var = FALSE)