Monday, 14 July 2014

LaTeX: Using gnuplot for Plotting Functions

$\mathrm{\LaTeX}$ has the capability to draw beautiful graphics. This feature is possible with TikZ package. Here is the plot of $f(x) = x$,

In $\mathrm{\LaTeX}$, everything has to be coded. From axes, to labels, to points on the $xy$-plane; that explains why four lines of codes, only for single, very simple plot.

Thursday, 22 May 2014

R and Python Meetups, Philippines

There will be upcoming meet ups for R User Group Philippines and Python Philippines (PythonPH) Community. Below are the details:

R Meetup

topic: R for SAS users, and planning of RUG activities 

date: Thursday, June 19, 2014
         7:00 pm

  • Introducing R to SAS users;
  • common SAS functions used at PPD - c/o Mark Javellosa;
  • group discussion on equivalent packages in R; and,
  • Sharing of experiences of actual SAS converts.
Question? Ask here.

Friday, 21 March 2014

R: Text Mining on Twitter #PrayForMH370 Malaysia Airlines

It's been two weeks for search and rescue operations of the 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 MH370

In this post, we are going to do text data mining on Twitter tweets containing #PrayForMH370 from March 8, to March 20, 2014 using Twitter API. First, we need to have an authentication on the Twitter API, to obtain the data. In the proceeding tutorial, the idea and codes for Twitter authentication were based from Julianhi's amazing blog, and I am going to replicate his code to save a copy of it.
Fork me on GitHub