Description Usage Arguments Value
Applies linear of logistic regregression to the data.
1 | build.null.model(y, x, reg.family = "binomial", verbose = FALSE)
|
y |
A vector with values of dependent variable (outcome). |
x |
A data.frame of covariates. |
reg.family |
A regression family. Can be either "binomial" or "gaussian." |
verbose |
Indicates verbosing output. Default: FALSE. |
A list of two: "S" - a dataframe with predictors and "fit" - an object returned by "glm" function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.