ggplot2 で始めるデータ可視化入門
Rick Scavetta
Founder, Scavetta Academy

機能
主目的:
副目的:
指針
してはならない:
常に行う:






ggplot(iris, aes(x = Sepal.Length,
y = Sepal.Width,
color = Species)) +
geom_point()

ggplot(iris, aes(color = Sepal.Length,
y = Sepal.Width,
x = Species)) +
geom_point()






ggplot(iris, aes(x = Sepal.Length,
y = Sepal.Width,
col = Species)) +
geom_point()

ggplot(iris, aes(x = Sepal.Length,
y = Sepal.Width,
col = Species)) +
geom_point(position = "jitter",
alpha = 0.5)

ggplot2 で始めるデータ可視化入門