facet_wrap(~VARIABLE, nrow = )ggplot(data=mpg)+
geom_point(mapping = aes(x=displ,y=hwy))+
facet_wrap(~ class, nrow=3)ggplot(data=mpg)+
geom_point(mapping = aes(x=displ,y=hwy))+
facet_grid(drv ~ class)ggplot(data=mpg)+
geom_point(mapping = aes(x=displ,y=hwy))+
facet_grid(. ~ class)ggplot(data=diamonds)+
geom_bar(mapping = aes(x=cut))?geom_barggplot(data=diamonds)+
stat_count(mapping = aes(x=cut))ggplot(data=diamonds)+
stat_count(mapping = aes(x=cut,colour=cut))
ggplot(data=diamonds)+
stat_count(mapping = aes(x=cut,fill=cut))
ggplot(data=diamonds)+
stat_count(mapping = aes(x=cut,fill=clarity))ggplot(data = diamonds, mapping = aes(x = cut, fill = clarity)) +
geom_bar(alpha = 1/5, position = "identity")
ggplot(data = diamonds, mapping = aes(x = cut, colour = clarity)) +
geom_bar(fill = NA, position = "identity")ggplot(data = diamonds) +
geom_bar(mapping = aes(x = cut, fill = clarity), position = "fill")ggplot(data = diamonds) +
geom_bar(mapping = aes(x = cut, fill = clarity), position = "dodge")ggplot(data = mpg, mapping = aes(x = class, y = hwy)) +
geom_boxplot()ggplot(data = mpg, mapping = aes(x = class, y = hwy)) +
geom_boxplot() +
coord_flip()ggplot(mpg, aes(x = factor(1), fill = drv)) +
geom_bar()ggplot(mpg, aes(x = factor(1), fill = drv)) +
geom_bar(width = 1) +
coord_polar(theta="y")getwd()setwd()Session - Set Working Directory - Choose Directory ...Ctrl + Shift + Hdatos <- read.csv("IN_SBAC16_MicroCodigo_247682_20170510_CSV.csv",sep=";")
str(datos)