2021年3月28日星期日

R ggplot script

I am struggling with one of the questions on the practice exam and I was hoping I could have some assistance.  Question:Explain what the R script does. # Data Prices of 50,000 round cut diamonds # This data has 53940 rows and 10 variables. Among them we are using two# variables representing 5 different cut of diamond: Fair, Good, # Very Good, Premium, Ideal) and depth of the diamond, a numeric. variable in # mm unit).  library(ggplot2)tall(diamonds, n=100)ggplot(diamonds, aes(cut, depth))+ geom_boxplot()+ggtitle("Depth of diamond by cut") I am a bit confused about the data that I am meant to input, could you give. me some. assistance on where to start with this?  Thank you

https://stackoverflow.com/questions/66848282/r-ggplot-script March 29, 2021 at 11:03AM

没有评论:

发表评论