# Articles by arsalvacion

### Social Media Mining with R (Book Review)

June 2, 2014 |

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 |

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.

### Mindoro Digital Elevation Map Updated

May 30, 2014 |

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...]

### Introduction to R for Quantitative Finance Introduction to R for Quantitative Finance (Book Review)

March 2, 2014 |

Last November 2013, PACKT Publishing launched the Introduction to R for Quantitative Finance. The book around  which is around 164 pages (including cover page and back pages) discuss the implementation different quantitative methods used in financ... [Read more...]

### Mapping Earthquake in Bohol using R

October 17, 2013 |

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 |

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 |

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 |

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...]

### Rainfall Amount Flooding Quezon City Philippines

August 8, 2012 |

The rainfall received by Quezon City, Philippines was almost double of what the city normally receive for the entire month of August, causing flooding and land slide to various villages in the area. [Read more...]

### August 6-7 Rainfall on Metro Manila

August 7, 2012 |

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 Monthly Rainfall of the Philippines from WORLDCLIM

August 6, 2012 |

Preparing for a future conference on climate change, I downloaded and extracted average monthly rainfall in the Philippines from worldclim.org. Using maptools, raster, and animation package in R, I produced an animation of average monthly rainfall of t... [Read more...]

August 5, 2012 |

### Trend and Spatial Pattern of Poverty in the Philippines

July 9, 2012 |

In a teaching demo that I have conducted, I discussed on how R can be used to analyze trends and spatial pattern of poverty incidence in the Philippines. Playing on the data I got from the National Statistical Coordination Board below is what I got.&... [Read more...]

### Colored 3D Map

July 1, 2012 |

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...

### Negros Quake Animation in R

June 17, 2012 |

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...

### 3D Maps in R

June 16, 2012 |

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: ################...

### Mindoro Digital Elevation Map

June 14, 2012 |

Saw a map produced by my previous student using a commercial GIS software.Using R raster package and data from diva-gis.org. I produced the same map

### RSMC 2011 Typhoon Tracks

June 8, 2012 |

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 ...

### Earthquake Density in the Philippines (2011-2012)

June 7, 2012 |

Using the same data and package from my previous post, but minor tweak on the code, I produced the map below: