Question: Use R 1. Manipulating the data #diamonds from ggplot2 package (included in tidyverse package) data(diamonds) #load the diamonds data set into your RStudio environment a.
Use R
1. Manipulating the data \#diamonds from ggplot2 package (included in tidyverse package) data("diamonds") \#load the diamonds data set into your RStudio environment a. (2 pts) Write a couple of sentences describing the diamonds data and list at least 2 commands that you used. For example, how many variables are in diamonds ? How many observations? What are the types of each variable? If you want to understand more about the diamonds data, read the documentation on diamonds using ?diamonds. b. ( 2 pts) Create a new data frame called diamonds 2 which is a copy of as follows: diamonds 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
