glm_logit: glm model

Description Usage Arguments See Also Examples

View source: R/models_tools.R

Description

Fitting Generalized Linear Models. Glm is used to fit generalized linear models ...

Usage

1
glm_logit(data_df, y_name, x_name, ...)

Arguments

data_df

Model data, class "data.frame".

y_name

The variable cible (Y) in characters.

x_name

List of explanatory variables (list of characters).

...

Add arguments from glm().

See Also

glm() for initial function

Other modeling functions: cv_glm_net(), def_model_keras(), fit_keras(), glm_net(), tree_rpart()

Examples

1
2
nom_col <- setdiff(names(iris), "Species")
glm_logit(iris, "Species", nom_col)

berthetclement/spam documentation built on Oct. 4, 2020, 9:03 p.m.