What is the data type of the cyl variable in the mtcars data frame?
Data can be considered as an important strategic asset to a business.
You are working with a small data set, which contains marks for first year students who took Data Science 141 (ds141), Probability Theory and Statistics 114 (pts114) and Computer Science 114 (cs114). The data set is stored in an object named marks and is shown below.
Which code could you use to view the entire data set in RStudio?
Categorical data can be coded numerically.
In Tutorial 2 Question 3.3, what is the largest diamond (in terms of carat) in the data set? Give your answer correct to 2 decimal places.
In Tutorial 2 Question 3.2, what is the average carat of the diamonds in the data set? Give your answer correct to 3 decimal places.