Notas técnicas
Todo el libro se escribió en R Markdown, utilizando los paquetes bookdown,rmarkdown, y knitr. Todas las figuras se hicieron con ggplot2,con la ayuda de varios paquetes complementarios, como cowplot, geofacet, ggforce, ggmap, ggrepel, ggridges, hexbin, patchwork, sf, statebins, tidybayes, y treemapify. Las manipulaciones del color se hicieron con los paquetes colorspace y colorblindr. Para muchos de estos paquetes, es necesaria la versión de desarrollo actual para compilar todas las partes del libro.
El código fuente del libro está disponible en https://github.com/clauswilke/dataviz. El libro también requiere un paquete R de apoyo, dviz.supp, cuyo código está disponible en https://github.com/clauswilke/dviz.supp.
El libro se compiló por última vez utilizando el siguiente entorno:
## R version 3.5.0 (2018-04-23) ## Platform: x86_64-apple-darwin15.6.0 (64-bit) ## Running under: macOS Sierra 10.12.6 ## ## Matrix products: default ## BLAS: /Library/Frameworks/ ... /libRblas.0.dylib ## LAPACK: /Library/Frameworks/ ... /libRlapack.dylib ## ## locale: ## [1] en_US.UTF-8/en_US.UTF-8/ ... /C/en_US.UTF-8/en_US.UTF-8 ## ## attached base packages: ## [1] stats graphics grDevices utils datasets methods base ## ## other attached packages: ## [1] nycflights13_1.0.0 gapminder_0.3.0 RColorBrewer_1.1-2 ## [4] gganimate_1.0.0.9000 ungeviz_0.1.0 emmeans_1.3.1 ## [7] mgcv_1.8-24 nlme_3.1-137 broom_0.5.1 ## [10] tidybayes_1.0.3 maps_3.3.0 statebins_2.0.0 ## [13] sf_0.7-1 maptools_0.9-4 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access