Visualisatie in hogere dimensies

Exploratory Data Analysis in R

Andrew Bray

Assistant Professor, Reed College

Plots voor 3 variabelen

ggplot(cars, aes(x = msrp)) +
  geom_density() +
  facet_grid(pickup ~ rear_wheel)

ch2_4.005.png

Exploratory Data Analysis in R

Plots voor 3 variabelen

ggplot(cars, aes(x = msrp)) +
  geom_density() +
  facet_grid(pickup ~ rear_wheel, labeller = label_both)

ch2_4.008.png

Exploratory Data Analysis in R

Plots voor 3 variabelen

ggplot(cars, aes(x = msrp)) +
  geom_density() +
  facet_grid(pickup ~ rear_wheel, labeller = label_both)
table(cars$rear_wheel, cars$pickup)
      FALSE TRUE
FALSE   306   12
TRUE     98   12
Exploratory Data Analysis in R

Hogerdimensionale plots

  • Vorm

  • Grootte

  • Kleur

  • Patroon

  • Beweging

  • x-coördinaat

  • y-coördinaat

Exploratory Data Analysis in R

Laten we oefenen!

Exploratory Data Analysis in R

Preparing Video For Download...