R ML: Load Dataset

From OnnoWiki
Jump to navigation Jump to search
# Ref: http://www.sthda.com/english/articles/36-classification-methods-essentials/

install.packages("mlbench")
# Load the data set PIMA INDIAN
data("PimaIndiansDiabetes2", package = "mlbench")
# Inspect the data
head(PimaIndiansDiabetes2, 4)

# Load the data IRTIS
data("iris")
# Inspect the data
head(iris, 4)


Referensi

Pranala Menarik