Einführung in die Datenvisualisierung mit ggplot2
Rick Scavetta
Founder, Scavetta Academy
ggplot(iris, aes(x = Sepal.Length,
y = Sepal.Width)) +
geom_point(color = "red")
Typ | Eigenschaft |
---|---|
Farbe | "red" |
Setze Attribute in geom_*()
.
Das Attribut color ist auf "red" gesetzt.
ggplot(iris, aes(x = Sepal.Length,
y = Sepal.Width)) +
geom_point(size = 10)
Typ | Eigenschaft |
---|---|
Größe | 4 |
ggplot(iris, aes(x = Sepal.Length,
y = Sepal.Width)) +
geom_point(shape = 4)
Typ | Eigenschaft |
---|---|
Form | 4 |
Einführung in die Datenvisualisierung mit ggplot2