Learn R Programming

DescTools (version 0.99.43)

d.diamonds: Data diamonds

Description

As I suppose, an artificial dataset

Usage

data(d.diamonds)

Arguments

Format

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

index

a numeric vector

carat

a numeric vector

colour

a factor with levels D E F G H I J K L

clarity

an ordered factor with levels I2 < I1 < SI3 < SI2 < SI1 < VS2 < VS1 < VVS2 < VVS1

cut

an ordered factor with levels F < G < V < X < I

certification

a factor with levels AGS DOW EGL GIA IGI

polish

an ordered factor with levels F < G < V < X < I

symmetry

an ordered factor with levels F < G < V < X < I

price

a numeric vector

wholesaler

a factor with levels A B C

Details

P Poor F Fair G Good V Very good X Excellent I Ideal

Examples

Run this code
# NOT RUN {
data(d.diamonds)
str(d.diamonds)
# }

Run the code above in your browser using DataLab