Hi All, In the first part and the second part of the ggplot series, I have mentioned about geom and scale layers. Now, let’s dig into various types of geoms. 1. geom_boxplot() This geom is used for creating a boxplot for showing the distribution. x and y variables are defined in the aes argument in…
Understanding ggplot (Part 2): The Facet Layer
In the first part of the ggplot series, we have talked about the geom and the scale layers. In visualization terms, faceting means juxtaposing several plots together. This is especially useful when we want to compare several categories together. Now, let’s jump into several ways of faceting in ggplot. 1. facet_grid() facet_grid() is used for…
Understanding ggplot (Part 1) – The Grammar of Graphic
Hi all, There are two ways of creating a graph in R: using the base R plot and using the wonderful package named ggplot2. But in this post, I will be focusing on ggplot. Since ggplot is a very broad concept, I plan to write it in several posts. For the first part, I will try…
Let’s Shine with R Shiny (An Intro)
Last week, I gave a talk at RLadies Jakarta 6th meetup about an intro to R Shiny. Although I already published the presentation on R-Ladies Jakarta’s GitHub, I still feel the urge of sharing it in a blog format. That way, I can explain it in more detail. So, here we go. Enjoy 🙂 What…
Let’s Get Down to R Markdown
A Glimpse of R Markdown Do you know that R is more than just about data wrangling and analysis? Well, it turns out that you can also turn your series of code and analysis into a tidy and beautiful report using R Markdown from RStudio. R Markdown is a simple formatting syntax for authoring HTML,…
Dealing with Conditional in R
Bonjour! In our daily life, we often face a condition where we have to anticipate and prepare for more than one outcome that might happen as a result of something that we have done. In a programming world, this situation is called a conditional statement. In R, there are two ways of how we can…
The Basic R
Hello..hello…I am falling in love deeply with R. That’s why in this current post, I’d still like to ramble and blabber about R. For RÂ newbie like me, it’s essential to know the basic data type in R, how to obtain data from various sources such as csv, xls, or Rstudio dataset, what is matrices and…
Python Visualization with Matplotlib
Matplotlib Matplotlib is one of the Python’s libraries that can be used to create a visualization. Other libraries are available such as: seaborn bokeh Altair –>Â Altair is a declarative statistical visualization library for Python. built on top of the powerful Vega-Lite visualization grammar.p source 1 source 2 Seaborn and Bokeh will be discussed in different…
Getting Started with R
What is R? R is a powerful and flexible tool/language which is free and can be used from calculating data sets to creating graphs and maps. Some other advantages of using R is that it has an interactive language, data structures, graphics availability, a developed community, and the advantage of adding more functionalities through an entire ecosystem of packages….
Welcoming Population Census 2020 in Indonesia
In the upcoming year of 2020, Badan Pusat Statistik (BPS-Statistics Indonesia) will once again administer a grand event of Population Census 2020. What is population census? you may ask. The population census is the enumeration of the country’s total population in a certain period. In Indonesia, population census is conducted every ten years (every year…