This Shiny app was created to predict the carat of a dimond, based on the price that the customer is willing to pay.
The user can simply move the slider left and right, select the price he/she is willing to pay for a diamond, and find out what its carat would be. The calculation is done in the Plot section.
This Shiny app uses the Diamonds dataset, pre-loaded in R. The monetary limit ranges from $300 to $20,000. As a default price has been chosen $5,051, as the average spending limit preffered by a customer.