diamonds: Information on diamond prices

Description Usage Format Source Examples

Description

Summaries of nearly 54k diamonds.

Usage

1
data("diamonds")

Format

A data frame with 53940 observations on the following 10 variables.

carat

a numeric vector

cut

a factor with levels Fair Good Ideal Premium Very Good

color

a factor with levels D E F G H I J

clarity

a factor with levels I1 IF SI1 SI2 VS1 VS2 VVS1 VVS2

depth

a numeric vector

table

a numeric vector

price

a numeric vector

x

a numeric vector

y

a numeric vector

z

a numeric vector

Source

H. Wickham. ggplot2: elegant graphics for data analysis. Springer New York, 2009.

Examples

1

JECheadle/RSOC317L documentation built on May 15, 2019, 4:02 a.m.