Articles by arsalvacion

Social Media Mining with R (Book Review)

June 2, 2014 | arsalvacion

The book Social Media Mining with R is a timely text for researchers and practitioners, specially those in social sciences who want to apply the method of social media mining and learn basic R. The author provided a good balance of theory and step-by-s... [Read more...]

Malawi Animated Rainfall Map

June 1, 2014 | arsalvacion

Couple of months ago, Charles Langton Vanya of Malawi contacted me on how to make animated rainfall map  in R. I was very busy that I was not able to respond. Anyway, to Mr. Vanya, here is the code you can play on to produce a similar map as below.
[Read more...]

Mindoro Digital Elevation Map Updated

May 30, 2014 | arsalvacion

Almost 2 years ago, I made a post on creating digital elevation map using R. For that post, I used the basic R plotting function to create the map. Recently, I started learning to use ggplot2 package for visualizing data. Today, I created the same map ... [Read more...]

Mapping Earthquake in Bohol using R

October 17, 2013 | arsalvacion

On my previous post a year ago (on mapping earthquake recorded for the Philippines), it can be seen that there were no earthquake (epicenter) recorded for the province of Bohol. But on the 15th of October there were more than 40 quakes recorded that hi... [Read more...]

Overlapping Histogram in R

March 1, 2013 | arsalvacion

While preparing a class exercise involving the use of overlaying of histogram, I searched Google on possible article or discussion on the said topic. Luckily, I found a blog where the author demonstrated an R function to create an overlapping histogram... [Read more...]

NSCB Sexy Stats Version 2

October 25, 2012 | arsalvacion

This was a revised version of my previous post about the NSCB article. With the suggestion from Tal Galili, below were the new pie charts and the R codes to produce these plots by directly scrapping the data from the webpage using XML and RColorBrewer ... [Read more...]

NSCB Sexy Statistics (Unemployment)

October 25, 2012 | arsalvacion

Recently, my friend posted on her Facebook account about the article published by the National Statistical Coordination Board (NSCB) about poverty and unemployment in the country.  Looking at the report I saw a lot of tables, so I thought why not ... [Read more...]

August 6-7 Rainfall on Metro Manila

August 7, 2012 | arsalvacion

Majority of Metro Manila is affected by floods. Looking at the hourly data from PAGASA weather  station located at Bicutan, Taguig, the graph below will gave the viewers of this blog on the rainfall situation in Manila from August 6 (12:00am)-7(11... [Read more...]

Provincial Map using GADM

August 5, 2012 | arsalvacion

This blog demonstrates how to produce political/provincial boundary map (below) using R maptools and raster packages. ## Load required packageslibrary(maptools)library(raster) ## Download data from gadm.org adm [Read more...]

Colored 3D Map

July 1, 2012 | arsalvacion

In my previous post, I showed how to make a 3D view of an area using the persp function. However, I felt this was not a complete representation, especially for digital elevation. While looking for some reference for my presentation on the use of R for...
[Read more...]

Negros Quake Animation in R

June 17, 2012 | arsalvacion

Taken from a previous post in other website, maps below show the locations of epicenters and sequence of earthquakes that struck Negros last February 6, 2012. The bottom image is the animation these maps using animation package in R. Data was taken fr...
[Read more...]

3D Maps in R

June 16, 2012 | arsalvacion

Talking about elevation, one can also plot a wire frame 3D view of an area using the persp function. Using the same data source from my previous post, 3D view of Marinduque, Philippines was produced using the following code below: ################...
[Read more...]

RSMC 2011 Typhoon Tracks

June 8, 2012 | arsalvacion

While at Puerto Princesa Airport in Palawan and waiting for my flight back to Manila, I opened my laptop and started doing what I usually do (practice may skills in R) on my idle time. With some inspirations from spatialanalysis.co.uk, I tried to make ...
[Read more...]

Poverty Incidence in the Philippines

June 6, 2012 | arsalvacion

Every three (3) years, the National Statistical Coordination Board (NSCB) publish data on provincial poverty incidence in the Philippines. Using R, I put the tabulated poverty incidence data into maps to check pattern and changes on the country's pr...
[Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)