In: Statistics and Probability
Instructions tell you how to get the data in R
R has built in dataset called Iris. This famous (Fisher's or Anderson's) iris data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris. The species are Iris setosa, versicolor, and virginica. We are interested in estimating the length of Petal (Y) using the length of Sepal (X).
First, load the dataset using the following command: data("iris")
You can find the general information about this data by typing: summary(iris)