Blog Archives

To cooperate of defect (besides of coding): Prisoners dilemma, a game theory example in R

August 10, 2014
By
To cooperate of defect (besides of coding): Prisoners dilemma, a game theory example in R

Hello Computer Science and/or R enthusiasts.This week I had the opportunity to try something that was in my To-Do list a while ago. The idea came almost instantly after reading Dr. Richard Dawkins book, The Selfish Gene (which was a BD gift, thanks Andy).I feel the obligated necessity to program my own implementation of the prisoners dilemma and...

Read more »

UPDATE: 100 Prisoners, 100 lines of code, a game theory example in R

August 1, 2014
By
UPDATE: 100 Prisoners, 100 lines of code, a  game theory example in R

I  was looking for some Game-Theory post in R-bloggers and found this very cool post,  obviously I decided to read the post, to look at the code and implement a version of it.The idea of the post was very cool for me that I thought it would b...

Read more »

What are the names of the school principals in Mexico?, If your name is Maria, probably this post will interest you. Trends and cool plots from the national education census of Mexico in 2013

What are the names of the school principals in Mexico?, If your name is Maria, probably this post will interest you. Trends and cool plots from the national education census of Mexico in 2013

I will start this post with a disclaimer:The main intention of the post is to show how is the distribution of the school principal names in Mexico, for example, to show basic trends regarding about what is the most common nation-wide first name and so ...

Read more »

[SOLVED] Problems compiling Rcpp dependent R packages in Crunchbang Linux 11 (Debian 7.5 (wheezy) 64-bit)

June 18, 2014
By
[SOLVED] Problems compiling Rcpp dependent R packages in Crunchbang Linux 11 (Debian 7.5 (wheezy) 64-bit)

I had a very weird issue when I tried to compile (install) certain R packages like "wordcloud", "RSNNS" or "GOSemSim" (a Bioconductor package). The installation always ended with a compiling error at the end.At first, I tried to solve the problem by fi...

Read more »

Convert Ensembl, Unigene, Uniprot and RefSeq IDs to Symbol IDs in R using Bioconductor

February 25, 2014
By

Hello, I have programmed a function that converts different sources of IDs to Symbol IDs.The input ID types allowed are (at the moment):  Ensembl, Unigene, Uniprot and RefSeq.The code is available clicking hereNOTE: The function depends on the Bio...

Read more »

Upgrade and update R 2.15 to R 3.0 in Debian Wheezy

February 10, 2014
By

Following the instructions from CRAN, you need to add the R backports in your source list.FIRST PART: ADD R BACKPORTS: First, open a Terminal and open the sources.list file:$ gksudo gedit /etc/apt/sources.listThen, add these lines a...

Read more »

Optimizing a multivariable function parameters using a random method, genetic algorithm and simulated annealing in R

October 19, 2013
By
Optimizing a multivariable function parameters using a random method, genetic algorithm and simulated annealing in R

Say that you are implementing a non-linear regression analysis, which is shortly described by wikipedia as:"In statistics, nonlinear regression is a form of regression analysis in which observational data are modeled by a function which is a nonlinear ...

Read more »

Accuracy versus F score: Machine Learning for the RNA Polymerases

August 16, 2013
By

Hello, today I'm going to show you the difference of using two different common performance measures (useful not only for Machine Learning purposes, is useful in every scientific field). Until now, I have found more the accuracy values than F scores in...

Read more »