sai_screen: SAI for SCREEN

Description Usage Arguments Value Examples

Description

do univariate regression to all explanatory variables.

Usage

1
sai_screen(data, y, model)

Arguments

data

the data.frame which contain responce variable and explanatory variables.

y

the responce variable "name", is a character.

model

the model's name, is a character, 'linear' for linear regression, 'logit' for logistic regression, 'poisson' for poisson regression, 'ordinal_logistic' for ordinal logistic regression

Value

it will output a data.frame with univariate regreesion model to all explanatory variables, the p.value will be sorted from smallest to lagest. So that we can easily find out which variable will effect the model dramatically.

Examples

1
sai_screen(data = iris, y = "Sepal.Length", model = "linear")

biglin0706/SAI documentation built on May 29, 2019, 1:22 p.m.