library(dplyr)
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
library(ggplot2)
ggplot(storms) +
aes(year, wind) +
geom_point()
ggplot(storms) +
aes(year, wind, color = category, size = wind) +
geom_point()
ggplot(storms) +
aes(year, wind, color = year) +
geom_col()
ggplot(storms) +
aes(wind) +
geom_bar(color = "red", fill = "Gold")
# Histograma
ggplot(storms) +
aes(wind) +
geom_histogram(bins = 15, color = "green", fill = "violet")