About DiamondPrice

DiamondPrice shinyapp has diamond dataset from the ggplot2 package. The plot generated though the app has diamond price as the outcome against the weight predictor.The diamond dataset has 54000 diamonds data. The user inputs via a slider the proportion of this data that will be used to plot the realtion between the two variables as a scatterplot. A linear regression model is generated in the plot to clarify the relationship.