Description Usage Arguments Value Examples
do univariate regression to all explanatory variables.
1 | sai_screen(data, y, model)
|
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 |
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.
1 | sai_screen(data = iris, y = "Sepal.Length", model = "linear")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.