powered by
As I suppose, an artificial dataset
data(d.diamonds)
A data frame with 440 observations on the following 10 variables.
index
a numeric vector
carat
colour
a factor with levels D E F G H I J K L
D
E
F
G
H
I
J
K
L
clarity
an ordered factor with levels I2 < I1 < SI3 < SI2 < SI1 < VS2 < VS1 < VVS2 < VVS1
I2
I1
SI3
SI2
SI1
VS2
VS1
VVS2
VVS1
cut
an ordered factor with levels F < G < V < X < I
V
X
certification
a factor with levels AGS DOW EGL GIA IGI
AGS
DOW
EGL
GIA
IGI
polish
symmetry
price
wholesaler
a factor with levels A B C
A
B
C
P Poor F Fair G Good V Very good X Excellent I Ideal
data(d.diamonds) str(d.diamonds)
Run the code above in your browser using DataLab