Data Visualization - RStudio

0 downloads 363 Views 949KB Size Report
Add a new layer to a plot with a geom_*() .... Themes r + theme_classic() r + theme_light() r + theme_linedraw() ... n +
Geoms

, a + geom_density(kernal ax,+y,geom_area(stat = "bin") linejoin="round’ , linemitre=1) alpha, color, fill, linetype, size, weight

xmax, xmin, ymax, ymin, alpha, color, fill,

alpha, color, fill, linetype, size bx,+y,geom_density(aes(y = ..county..))

size, weight h +linetype, geom_hex() ehx,++y,geom_density2d() geom_quantile() alpha, colour, fill size

f + geom_point() x, y, alpha, color, group, linetype, size f x, + geom_jitter() y, alpha, color, fill, shape, size

b + geom_area(aes(y = ..density..), stat = "bin")

a+ geom_dotplot() ax,+y,geom_density(kernal = "gaussian") alpha, color, fill

x, y, alpha, colour, linetype, size

x, y, alpha, color, fill, shape, size

x,Continuous y, alpha, color, group, linetype, size, weight Function h + geom_hex() aes(date, unemploy)) g