Skip to content

Commit 0b98285

Browse files
Update iris-data-understanding.R
1 parent 3227dd6 commit 0b98285

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iris/iris-data-understanding.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ hist(iris$Sepal.Width, col = "red") # Makes red bars
8080

8181
# Feature plots
8282
# https://www.machinelearningplus.com/machine-learning/caret-package/
83-
featurePlot(x = TrainingSet[,1:4],
84-
y = TrainingSet$Species,
83+
featurePlot(x = iris[,1:4],
84+
y = iris$Species,
8585
plot = "box",
8686
strip=strip.custom(par.strip.text=list(cex=.7)),
8787
scales = list(x = list(relation="free"),

0 commit comments

Comments
 (0)