02.変数の要約
visualize(
diamonds,
xvar = "price",
type = "dist",
custom = FALSE
)

visualize(
diamonds,
xvar = "price",
type = "dist",
bins = 50,
custom = FALSE
)

result <- explore(
diamonds,
vars = "price",
byvar = "cut",
fun = c("min", "p25", "median", "p75", "max"),
nr = 5
)
summary(result, dec = 0)
Explore
Data : diamonds
Grouped by : cut
Functions : min, p25, median, p75, max
Top : Function
cut variable min p25 median p75 max
Fair price 497 2,037 3,323 4,732 16,386
Good price 339 1,156 3,259 5,238 16,776
Very Good price 338 905 2,745 5,383 18,678
Premium price 367 1,040 2,858 5,998 18,745
Ideal price 362 844 1,788 4,613 18,791
# dtab(result, dec = 0) %>% render()
visualize(
diamonds,
xvar = "cut",
yvar = "price",
type = "box",
custom = FALSE
)
