Publications by arsalvacion
Trend and Spatial Pattern of Poverty in the Philippines
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. Scatter Plot Matrix Histogram Poverty Inciden...
771 sym 8 img
Provincial Map using GADM
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 mar##Plot downloaded dataplot(mar, lwd=10, border=”skyblue”, add=T)plot(mar,col=”green4″, add=T)grid()box()invisible...
1165 sym 2 img
Provincial Monthly Rainfall of the Philippines from WORLDCLIM
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 the country. Related To leave a comment for the author, please follow the link and ...
694 sym 2 img
August 6-7 Rainfall on Metro Manila
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:15 pm), 2012. Related To leave a comment for the author, please follow the link and c...
692 sym 2 img
Rainfall Amount Flooding Quezon City Philippines
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. Related To leave a comment for the author, please follow the link and comment on their blog: Data Analysis and Visualization in R. R-bloggers.co...
618 sym 2 img
NSCB Sexy Statistics (Unemployment)
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 use R to make some graphs out of these tables (with some inspiration from the mazmascience).Percent ...
856 sym 6 img
NSCB Sexy Stats Version 2
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 pagkage.Unemployment by Age GroupUnemployment by GenderUnemployment by Civil StatusU...
3619 sym 8 img
Overlapping Histogram in R
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. However, a comment from a guy also showed the same output using transparency. Belo...
1523 sym 4 img
Mapping Earthquake in Bohol using R
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 hit the island from early in the morning till late midnight with magnitude ranging from 2.7 to 7.2...
841 sym 2 img
Introduction to R for Quantitative Finance Introduction to R for Quantitative Finance (Book Review)
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 finance using R language . The book consists of nine (9) chapters cover topics from time series analysis...
1483 sym 2 img