Different Species have different sepal sizes, and they seem to have a linear pattern between them. if you load the iris dataset
data(iris)
irisdataset <- iris
Rodrigo Bertollo de Alexandre
Learner
Different Species have different sepal sizes, and they seem to have a linear pattern between them. if you load the iris dataset
data(iris)
irisdataset <- iris
plant <- "virginica"
data <- subset(irisdataset, iris$Species == plant)
plot(data$Sepal.Length, data$Sepal.Width, main = "A plot of the Sepal size", xlab = "Sepal Length", ylab = "Sepal Width", xaxt="n")
plant <- "versicolor"
data <- subset(irisdataset, iris$Species == plant)
plot(data$Sepal.Length, data$Sepal.Width, main = "A plot of the Sepal size", xlab = "Sepal Length", ylab = "Sepal Width", xaxt="n")
plant <- "setosa"
data <- subset(irisdataset, iris$Species == plant)
plot(data$Sepal.Length, data$Sepal.Width, main = "A plot of the Sepal size", xlab = "Sepal Length", ylab = "Sepal Width", xaxt="n")