Question: R ships with several built - in datasets, including the famous iris ( flowers , not eyes ) data collected by Anderson and analyzed by
R ships with several builtin datasets, including the famous iris flowers not eyes data
collected by Anderson and analyzed by Fisher in the s Type iris to see the dataset.
a Create a new data frame that consists of the numeric columns of the iris dataset and
calculate the means of its columns.
b By using aggregate function, calculate the mean and variance for variables sepal
length, sepal width, petal length and petal width according to species.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
