Go faster R for Google’s summer of code 2012

March 28, 2012
By

The R Foundation has been accepted for Google’s summer of code and I thought I would suggest a few ideas for projects. My interests are in optimization and source code analysis, so obviously the suggestions involve these topics. There are an infinite number of possible optimizations that can be applied to code (well, at least

Read more »

useR!2012 – student’s scholarship for attending the conference

March 28, 2012
By

Good news for students wishing to attend the annual useR conference (useR!2012). Through generous sponsor support (ASA, and RStudio), a limited number of student scholarships1 are available for reimbursement of travel and registration costs up to $500. The allocation will be based on merit and need. Students who wish to apply should send an application to Tatsuki Koyama ([email protected]) no later than...

Read more »

Applying Same Changes to Multiple Dataframes

March 28, 2012
By
Applying Same Changes  to Multiple Dataframes

How to apply the same changes to several dataframes andsave them to CSV: # a dataframea <- data.frame(x = 1:3, y = 4:6)# make a list of several dataframes, then apply function (change column names, e.g.):my.list <- list(a, a)my.list <- lapply(...

Read more »

lubridate: working with date and time in R

March 28, 2012
By
lubridate: working with date and time in R

Working with date and time in R is sometimes tricky. Today I gave lubridate a try and was surprised on how easy it can be. Lubridate is a available on git and on CRAN. There is also a good introduction … Continue reading →

Read more »

AQP Kick-Start

March 27, 2012
By

A fun kick-starter for anyone interested in working with soil profile data in R, via AQP. See in-line comments for details. Up next, profile slicing and aggregation. read more

Read more »

Ruin probability and infinite time

March 27, 2012
By
Ruin probability and infinite time

A couple of weeks ago, I had a discussion with a practitioner, working in some financial company, about ruin, and infinite time. And it remind me a weird result. Well, not a weird result, but a result I found disturbing, at first, when I was a stud...

Read more »

Students: Help improve R with the Google Summer of Code

March 27, 2012
By

The Google Summer of Code project provides funding for students to write and contribute code to open-source projects of interest to Google. And given that R is widely used at Google, it's certainly a project of significant interest. So for the fifth year running the R Project will mentor students as part of GSOC 2012 to develop packages and...

Read more »

R Fell on Alabama–Presentation to Birmingham Open Source

March 27, 2012
By
R Fell on Alabama–Presentation to Birmingham Open Source

Birmingham Open Source Software (BOSS) was kind enough to invite me to do a debut presentation on R.  I had a lot of fun.  Below is the embedded Youtube.  Please let me know how I can improve.  I really appreciate helpful feedback.

Read more »

Twitter Germany will be based in Berlin – Taking a look at the numbers

March 27, 2012
By
Twitter Germany will be based in Berlin – Taking a look at the numbers

What I really love about Twitter is that everything they do seems to be data-based. They’re so data-driven, they even analyze the ingredients of their lunch to ensure everyone at the company is living a healthy lifestyle. So, the decision for Berlin as their German headquarter cannot be a random or value-based decision.

Read more »

Social Network Analysis with R

March 27, 2012
By
Social Network Analysis with R

By Yanchang Zhao, RDataMining.com If you have tried social network analysis or graph mining with R, you might have already come across package igraph before. The package is designed for graphs and network analysis in R. It can handle large … Continue reading →

Read more »

Installing and Running JAGS on Mac OS 10.5.8

March 26, 2012
By
Installing and Running JAGS on Mac OS 10.5.8

JAGS is an alternative to BUGS (WinBUGS or OpenBUGS) for conducting a Bayesian Analysis. It stands for Just Another Gibbs Sampler, and like WinBUGS, it is essentially an MCMC machine that employs a Gibbs sampler so you don’t have to … Continue reading →

Read more »

Installing and Running JAGS on Mac OS 10.5.8

March 26, 2012
By
Installing and Running JAGS on Mac OS 10.5.8

JAGS is an alternative to BUGS (WinBUGS or OpenBUGS) for conducting a Bayesian Analysis. It stands for Just Another Gibbs Sampler, and like WinBUGS, it is essentially an MCMC machine that employs a Gibbs sampler so you don't have to write your own for ...

Read more »

help resources for r: the r-help mailing list, ucla academic technology services, and r-bloggers

March 26, 2012
By

(This article was first published on twotorials by anthony damico, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: twotorials by anthony damico. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »

how to use coercion and convert numbers to characters to logicals in r

March 26, 2012
By

(This article was first published on twotorials by anthony damico, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: twotorials by anthony damico. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL,...

Read more »

VIDEO: Applying "SNV" math-treatment to our raw spectra in "R".

March 26, 2012
By
VIDEO: Applying "SNV" math-treatment to our raw spectra in "R".

(This article was first published on NIR-Quimiometría, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: NIR-Quimiometría. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics...

Read more »

Google summer of code 2012 – and R – a call for students

March 26, 2012
By
Google summer of code 2012 – and R – a call for students

Google has again accepted R as a mentoring organization for Google Summer of Code. R has successfully participated in GSoC in multiple previous years, and is excited to be returning this year as a mentoring organization. In a nutshell:  If you are a student looking to write some code for the R community, Google is willing to pay you...

Read more »

Julia functions for the Rmath library

March 26, 2012
By

1.1 Signatures of the d-p-q-r functions in libRmath Users of R are familiar with the functions for evaluating properties of and for sampling from probability distributions, the so-called d-p-q-r functions. The designation d-p-q-r reflects the fact t...

Read more »

How to customize ggplot2 graphics

March 26, 2012
By
How to customize ggplot2 graphics

I consider ggplot2 to be nothing short of a revolution in R graphics. I simply haven't found anything like this package for quickly and elegantly producing usable graphics.  I covered the quick and dirty basics of ggplot2 in a previous post. Now I...

Read more »

How to Extract Citation from a Body of Text

March 26, 2012
By
How to Extract Citation from a Body of Text

Say, you have a text and you want to retrieve the cited names and years of publication. You wouldn't want to this by hand, wouldn't you?Try the following approach:(the text sample comes from THIS freely available publication)library(stringr)(txt <- ...

Read more »

Beta is not volatility

March 26, 2012
By
Beta is not volatility

The missing link between beta and volatility is correlation. Previously “4 and a half myths about beta in finance” attempted to dislodge several myths about beta, including that beta is about volatility. “Low (and high) volatility strategy effects” showed a plot of beta versus volatility for stocks in the S&P 500 for estimates from 2006.  … Continue reading...

Read more »

Reminder: Kölner R User Group meets on 30 March 2012

March 26, 2012
By
Reminder: Kölner R User Group meets on 30 March 2012

Venue: Sion em Keldenich, Weyertal 47, 50937 Cologne, Germany, 6 p.m., 30 March 2012, View Larger MapFor more details and registration see the Kölner R User Group page.

Read more »

R functions for serious stats

March 25, 2012
By
R functions for serious stats

UPDATE: Some problems arose with my previous host so I have now updated the links here and elsewhere on the blog. The companion web site for Serious Stats has a zip file with R scripts for each chapter. This contains examples of R code and and all my functions from the book (and a few extras).

Read more »

The R-Podcast Episode 4: Data Structures-Introduction

March 25, 2012
By

In this episode: Site updates, additional screencasts about R from other sites, listener feedback, and discussion on the fundamental data structures for R: vectors, matrices, lists, and data frames. The R code discussed in this episode is available in our GitHub repository, see the show notes for details. Leave us a voicemail a +1-269-849-9780, or

Read more »

Popularity of Programming Languages

March 25, 2012
By
Popularity of Programming Languages

As you can see, R is relatively popular (but more so on StackOverflow than GitHub):For the original graph, click here. This scatter plot is a reminder that R is useful to learn not only for statistical modeling (since there are so many excellent packag...

Read more »

Canonical Correlation Analysis for finding patterns in coupled fields

March 25, 2012
By
Canonical Correlation Analysis for finding patterns in coupled fields

First CCA pattern of Sea Level Pressure (SLP) and Sea Surface Temperature (SST) monthly anomalies for the region between -180 °W to -70 °W and +30 °N to -30 °S. The following post demonstrates the use of Canonical Correlation Analysis (CCA) for diagnosing coupled patterns in climate fields....

Read more »

Classification Trees and Spatial Autocorrelation

March 25, 2012
By
Classification Trees and Spatial Autocorrelation

I'm currently trying to model species presence / absence data (N = 523) that were collected over a geographic area and are possibly spatially autocorrelated. Samples come from preferential sites (sea level > 1200 m, obligatory presence of permanent ...

Read more »

VIDEO: Applying "MSC" math-treatment to our raw spectra in "R".

March 25, 2012
By
VIDEO: Applying "MSC" math-treatment to our raw spectra in "R".

(This article was first published on NIR-Quimiometría, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: NIR-Quimiometría. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics...

Read more »

Levenshtein distance in C++ and code profiling in R

March 25, 2012
By
Levenshtein distance in C++ and code profiling in R

At work, the client requested, if existing search engine could accept singular and plural forms equally, e. g. “partner” and “partners” would lead to the same result. The first option – stemming. In that case, search engine would use root of a word, e. g. “partn”. However, stemming has many weaknesses: two different words might have same root, a

Read more »

Disproportionality Data

March 25, 2012
By
Disproportionality Data

So I was hunting around for some data on disproportional electoral outcomes (when the proportion of voters cast for political parties is not close to the proportion of legislative seats that they win).Michael Gallagher keeps an updated version of his L...

Read more »