Pustaka Taratsa
R Regression: Logistic Regression

R Regression: Logistic Regression

Penulis: Onno Widodo Purbo

# Ref: http://www.sthda.com/english/articles/36-classification-methods-essentials/151-logistic-regression-essentials-in-r/ install.packages("mlbench") # Load the data set PIMA INDIAN data("PimaIndiansDiabetes2", package = "mlbench") # Inspect the data head(PimaIndiansDiabetes2, 4) library(tidyverse) library(caret) theme_set(theme_bw()) # PREPARE DATA # Load the data and remove NAs