dmd: Properties and prices of diamonds

Description Usage Format Examples

Description

A dataset that presents prices and attributes of nearly 2,700 diamonds. This dataset is a downsampled and simplified version of the diamonds dataset found in the ggplot2 package.

Usage

1

Format

A tibble with 2697 rows and 6 variables:

carats

the weight of the diamond in carats, where each carat is 0.2 grams

depth

a depth percentage of the diamond that takes into account the diamond's length, width, and depth distances

color,cut,clarity

provides qualitative measures of the diamond's color, cut, and clarity; the measures for each of these variables are Fair, Great, and The Best

price

the price of the diamond in US Dollars

Examples

1
2
3
# Here is a glimpse at the data
# available in `dmd`
dplyr::glimpse(dmd)

rich-iannone/rwr documentation built on Jan. 22, 2021, 7:51 p.m.