Blog Archives

R: k-Means Clustering on an Image

September 12, 2014
By
R: k-Means Clustering on an Image

Enough with the theory we recently published, let's take a break and have fun on the application of Statistics used in Data Mining and Machine Learning, the k-Means Clustering.k-means clustering is a method of vector quantization, originally from signa...

Read more »

R: Image Analysis using EBImage

September 5, 2014
By
R: Image Analysis using EBImage

Currently, I am taking Statistics for Image Analysis on my masteral, and have been exploring this topic in R. One package that has the capability in this field is the EBImage from Bioconductor, which will be showcased in this post.InstallationFor those...

Read more »

R and Python Meetups, Philippines

May 21, 2014
By

There will be upcoming meetups for R User Group Philippines and Python Philippines (PythonPH) Community. Below are the details:R Meetuptopic: R for SAS users, and planning of RUG activities venue: 9/F Sun Life Centre, 5th Avenue corner Rizal Drive...

Read more »

R: Text Mining on Twitter #PrayForMH370 Malaysia Airlines

March 21, 2014
By
R: Text Mining on Twitter #PrayForMH370 Malaysia Airlines

It's been two weeks for search and rescue operations on Malaysia Airlines Flight MH370, after it vanished from the radar on March 8, 2014. And wherever they are, we hope and pray for them.Photo from VENUS - Wall of Hope & Prayers for MH370In this p...

Read more »

RUG-Philippines Meetup: Markov Switching Models in R

March 7, 2014
By

To the R users based in the Philippines, there will be upcoming meetup, here are the details:topics: Markov Switching Models in R           by Ohly Santos           How to use the op...

Read more »

R: Fun with surf3D function

February 19, 2014
By
R: Fun with surf3D function

There is one package that I've been longing. A package that will give me the power to manipulate and do any 3D stuffs in R. I tried persp and wireframe, but I find them difficult to use especially on complicated mathematical functions, like doing param...

Read more »

R: Animating 2D and 3D plots

February 13, 2014
By
R: Animating 2D and 3D plots

One great package in R is the animation made by Yihui Xie. And just for fun, we are going to explore that. Our aim is to create simple animated 2D and 3D plots. Here is the first one, 2D of courseThe code,It's a piece of cake right? The function we use...

Read more »

Python and R: Is Python really faster than R?

January 30, 2014
By

A friend of mine asked me to code the following in R:Generate samples of size 10 from Normal distribution with $\mu$ = 3 and $\sigma^2$ = 5;Compute the $\bar{x}$ and $\bar{x}\mp z_{\alpha/2}\displaystyle\frac{\sigma}{\sqrt{n}}$ using the 95% confidence...

Read more »

R: Explore ARIMA(2, 2, 2) subclass family on Shiny

December 1, 2013
By
R: Explore ARIMA(2, 2, 2) subclass family on Shiny

I've been thinking that it might be better to explore the Box-Jenkins ARIMA (Autoregressive Integrated Moving-Average) three-iterative modelling on Shiny. So here is what I got, this app is intended for ARIMA(2, 2, 2) subclass family only.The app has s...

Read more »

R: Mapping Super Typhoon Yolanda (Haiyan) Track

November 24, 2013
By
R: Mapping Super Typhoon Yolanda (Haiyan) Track

After reading Enrico Tonini post, I decided to map the super typhoon Haiyan track using OpenStreetMap, maptools, and ggplot2. If mapping with googleVis was possible with 13 lines only, that can also be achieved with the packages I used; but because I p...

Read more »