diamonds11: Prices of more than 50,000 round cut diamonds.

Description Usage Format Source

Description

A dataset containing the prices and other attributes of almost 54,000 diamonds. It is almost identical to the diamonds dataset from ggplot2, but has one additional variable area.

Usage

1

Format

A data frame with 53940 rows and 11 variables:

price

price in US dollars ($326 to $18,823)

carat

weight of the diamond (0.2 to 5.01)

cut

quality of the cut (Fair, Good, Very Good, Premium, Ideal)

color

diamond colour, from J (worst) to D (best)

clarity

a measurement of how clear the diamond is (I1 (worst), SI2, SI1, VS2, VS1, VVS2, VVS1, IF (best))

x

length in mm (0 to 10.74)

y

width in mm (0 to 58.9)

z

depth in mm (0 to 31.8)

depth

total depth percentage

table

width of top of diamond relative to widest point (43 to 95)

area

location the diamond has been found (1 = Russia, 2 = South Africa, 3 = Brazil, 4 = Australia, 5 = Canada); actually a factor but saved as an integer

Source

ggplot2


tajohu/GGenemy documentation built on Nov. 5, 2019, 9:44 a.m.