Sérgio Costa
Sérgio Costa
  • Видео 5
  • Просмотров 66 403
Smooth lines with geom_smooth() + Facets with facet_wrap() | Professional dataviz with ggplot2 | R
5 minutes is enough to create a professional-looking and ready for publication chart. In this video i show how to add smoothing lines and the use of facet_wrap functions from ggplot2 package.
The code and files can be found on my github repository: github.com/sergiocostafh/ggplot2_dataviz
Forest sciences and biometrics in R (portuguese): mensura-r.netlify.app/
Video music: Kazukii - Dawn (ruclips.net/video/-UPBZ0AYigc/видео.html)
Просмотров: 6 744

Видео

Population pyramid chart with geom_bar() | Professional dataviz with ggplot2 | R
Просмотров 6 тыс.4 года назад
*CORRECTION: I forgot to set the Y axis to absolute values ​​and because of that the labels on the left side of the axis are read negative. To fix it, just replace the command: scale_y_continuous (breaks = seq (-10,10,1), labels = function (x) {paste(abs (x), '%')}) The corrected version of the code can be found on my github (url below).] 5 minutes is enough to create a professional-looking and...
Raster maps with geom_raster() | Professional dataviz with ggplot2 | R
Просмотров 21 тыс.4 года назад
5 minutes is enough to create a professional-looking and ready for publication chart. In this video i show how to create raster maps using geom_raster() function from ggplot2 package. For this example, we use annual precipitation data for South America from WorldClim. The code and files can be found on my github repository: github.com/sergiocostafh/ggplot2_dataviz Forest sciences and biometrics...
Plotting longitudinal data with geom_point() + geom_line() | Professional dataviz with ggplot2 | R
Просмотров 14 тыс.4 года назад
5 minutes is enough to create a professional-looking and ready for publication chart. In this video i will show how to visualize longitudinal data using geom_point() and geom_line() functions from ggplot2 package. The data used in this video is the 'Orange' dataset from 'datasets' package. The code and files can be found on my github repository: github.com/sergiocostafh/ggplot2_dataviz Forest s...
Choropleth maps with geom_sf() | Professional dataviz with ggplot2 | R
Просмотров 19 тыс.4 года назад
5 minutes is enough to create a professional-looking and ready for publication chart. In this video i will show how to create a choropleth map using geom_sf() function from ggplot2 package. The choropleth in this video was created using population density data from Brazil's municipalities. The code and files can be found on my github repository: github.com/sergiocostafh/ggplot2_dataviz Forest s...