How to change the alpha value of colours in R

April 29, 2013
By
How to change the alpha value of colours in R

Often I like to reduce the alpha value (level of transparency) of colours to identify patterns of over-plotting when displaying lots of data points with R. So, here is a tiny function that allows me to add an alpha value to a given vector of colours, e.g. a RColorBrewer palette, using col2rgb and rgb, which has...

Read more »

Using the Golden Section Search Method to Minimize the Sum of Absolute Deviations

Using the Golden Section Search Method to Minimize the Sum of Absolute Deviations

Introduction Recently, I introduced the golden search method – a special way to save computation time by modifying the bisection method with the golden ratio, and I illustrated how to minimize a cusped function with this script.  I also wrote an R function to implement this method and an R script on how to apply this

Read more »

Qu’on dit les médias cette semaine ?: Timeline de TwitteR

April 28, 2013
By

(This article was first published on Learning Data Science , and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on their blog: Learning Data Science . R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps,...

Read more »

Funky music in funky months: Does my taste of music change over the year?

April 28, 2013
By
Funky music in funky months: Does my taste of music change over the year?

I already introduced some stuff I did with the last.fm API. But did you ever wonder if your taste of music changes over the year? Sunny music in the sunny months and dark music in darker months? Well, I did. And I want to check it out with the RLastFM ...

Read more »

Slides and exercise from my second R intro seminar

April 28, 2013
By
Slides and exercise from my second R intro seminar

This week I held the second introductory seminar on R, and I think it went pretty well — though I guess you really should ask my colleagues if you want to know. The first seminar was a lecture, and this seminar was a tutorial where we made some plots and calculated a few of the

Read more »

Forecasting stock returns using ARIMA model with exogenous variable in R

April 28, 2013
By
Forecasting stock returns using ARIMA model with exogenous variable in R

Why is it important? Why is it important? India has a lot to achieve in terms of becoming a developed nation from an economic standpoint. An aspect which, in my opinion, is of utmost importance is the formation of structurally sound and robust...

Read more »

Posteriors vs predictives

April 26, 2013
By

Karl Saliba writes with some queries about our football paper, which I have already discussed on the blog here. He says:Thanks to the code in the appendix I could easily replicate (by using WinBUGS) a similar analysis on any football league of my ...

Read more »

Documentation of R source code for package developers

April 26, 2013
By

R package developers who use the native API written in C will surely be interested in the Roxygen-generated Documentation of R source code. The documentation is based on the SVN R-devel branch and will be updated on a monthly basis…Read more ›

Read more »

Revolution Newsletter: April 2013

April 26, 2013
By

The most recent edition of the Revolution Newsletter is out. The news section is below, and you can read the full April edition (with highlights from this blog and community events) online. You can subscribe to the Revolution Newsletter to get it monthly via email. Now Available: Revolution R Enterprise 6.2. Released today, this update further enhances the performance,...

Read more »

Data Visualization: From Excel to ???

April 26, 2013
By
Data Visualization: From Excel to ???

So you’re an excel wizard, you make the best graphs and charts Microsoft’s classic product has to offer, and you expertly integrate them into your business operations.  Lately you’ve studied up on all the latest uses for data visualization and … Continue reading →The post Data Visualization: From Excel to ??? appeared first on Data Community...

Read more »

Data Visualization: From Excel to ???

April 26, 2013
By
Data Visualization: From Excel to ???

So you're an excel wizard, you make the best graphs and charts Microsoft's classic product has to offer, and you expertly integrate them into your business operations.  Lately you've studied up on all the latest uses for data visualization and dashboards in taking your business to the next level, which you tried to emulate with excel...

Read more »

The Financial Crisis on Tape Part II

April 26, 2013
By
The Financial Crisis on Tape Part II

EDIT: I am aware of some browsers failing to load the github code below. I will try to improve this as soon as possible. Until then it may work better on www.joesdatadiner.com than at http://www.r-bloggers.com/. Finally all the code is availa...

Read more »

Using plyr and doMC for quick and easy apply-family functions

April 26, 2013
By
Using plyr and doMC for quick and easy apply-family functions

A few weeks back I dedicated a short amount of time to actually read what plyr (Wickham, 2011) is about and I was surprised. The whole idea behind plyr is very simple: expand the apply() family to do things easy. plyr has...

Read more »

Learning to code in R

April 25, 2013
By
Learning to code in R

It used to be that the one of the first decisions to make when learning to program was between compiled (e.g. C or FORTRAN) and interpreted (e.g. Python) languages. In my opinion these days one would have to be a masochist to learn with a compiled language: the extra compilation time and obscure errors are

Read more »

FasteR! HigheR! StrongeR! – A Guide to Speeding Up R Code for Busy People

April 25, 2013
By
FasteR! HigheR! StrongeR! – A Guide to Speeding Up R Code for Busy People

This is an overview of tools for speeding up your R code that I wrote for the Davis R Users’ Group. First, Ask “Why?” It’s customary to quote Donald Knuth at this point, but instead I’ll quote my twitter buddy Ted Hart to illustrate a point: I’m just going to say it.I like for loops in #Rstats,...

Read more »

Webinar Follow-Up: Second Batch of Answers to Overflow Questions

April 25, 2013
By

Here are answers to some more overflow questions asked during our webnar about SciDB-R. (First batch of answers is here.) Can you advise us on hardware configurations for SciDB? Yes. See this blog post. Can you compare HDFS and SciDB? A comparison is d...

Read more »

3D Model Using the rgl Package

April 25, 2013
By
3D Model Using the rgl Package

A while back, I had a unique opportunity to work with some very talented interns for the summer while I was working at Allstate insurance. Without giving away details of the project that Allstate may prefer to keep secret, let's just say that we had ac...

Read more »

GSoC and R: Off to the Races

April 25, 2013
By
GSoC and R: Off to the Races

Google Summer of Code has now opened for student applications, and the R Project has once again been selected as a mentoring organization.  I’ve discussed before that a variety of mentors have proposed a number of projects for students to work on during this summer, but I wanted to emphasize some points about the schedule. The deadline for

Read more »

Interacting, on demand, with 2012 best cities data and plotting different graphs —- Experiments with ggplot2 on shiny server

April 25, 2013
By
Interacting, on demand, with 2012 best cities data and plotting different graphs —- Experiments with ggplot2 on shiny server

Data from slides on Bloomberg businessweek's site: http://images.businessweek.com/slideshows/2012-09-26/americas-50-best-citiesIn this post, I show how one can interact with a dataset and generate graphs on the fly (technically, I've predetermined...

Read more »

Lahman: A New R Package for Baseball Stats

April 25, 2013
By
Lahman: A New R Package for Baseball Stats

by Joseph Rickert Baseball fans have been serious about statistics since Carl Pearson was a young man (although I doubt that Carl followed the game). It is not clear, though, exactly when baseball statisticians moved from doing descriptive stats into predictive analytics. In his book Super Crunchers, Ian Ayers credits Bill James of Baseball Abstract fame for getting this...

Read more »

A Call for Context-Aware Measurement

April 25, 2013
By
A Call for Context-Aware Measurement

Context awareness seems to be everywhere, and everyone seems to be saying that context matters.  Gartner foresees "a game-changing opportunity" in what it calls context-aware computing.  The title of their report states it best, "Context Shap...

Read more »

A plea for less word clouds

April 25, 2013
By
A plea for less word clouds

Word cloud of DOMA hearing transcriptsI must admit, there is something appealing about the word cloud - that is, until you try to understand what it actually means...Word clouds are pervasive - even in the science world. I was somewhat spurred to wri...

Read more »

A plea for less word clouds

April 25, 2013
By
A plea for less word clouds

Word cloud of DOMA hearing transcriptsI must admit, there is something appealing about the word cloud - that is, until you try to understand what it actually means...Word clouds are pervasive - even in the science world. I was somewhat spurred to write...

Read more »

interesting puzzle

April 25, 2013
By
interesting puzzle

In addition to its weekly mathematics puzzles, Le Monde is now publishing a series of vulgarisation books on mathematics, under the patronage of Cédric Villani. Jean-Michel Marin brought me two from the series, one on the golden number and one on Pythagoras’ theorem. (This is actually a translation of a series published by El Pais

Read more »

BEER REVIEW: End of the World Midnight Wheat

April 24, 2013
By
BEER REVIEW: End of the World Midnight Wheat

I promised in Episode 166 that I’d review this beer with a bit more detail than my usual quick spiel on the show, so allow me to present: End of the World Midnight Wheat! An ale brewed with “midnight wheat, chocolate malt, chili and spice” from Shock Top (aka Anheuser-Busch) First and foremost a special

Read more »

A brainfuck interpreter for R

April 24, 2013
By
A brainfuck interpreter for R

The deadline for my book on R is fast approaching, so naturally I’m in full procrastination mode.  So much so that I’ve spent this evening creating a brainfuck interpreter for R.  brainfuck is a very simple programming language: you get an array of 30000 bytes, an index, and just 8 eight commands.  You move the

Read more »

Free e-Copy of Bayesian Computation with R (Use R)

April 24, 2013
By
Free e-Copy of Bayesian Computation with R (Use R)

Amazon is currently making the first edition of Bayesian Computation with R (Use R) by Jim Albert available for free on Kindle. I own a copy of the book and there is a lot of good content and R examples on how one can do general Bayesian statistics.  The R scripts  from the book (2nd edition but

Read more »

Stamen maps with spplot

Stamen maps with spplot

Several R packages provide an interface to query map services (Google Maps, Stamen Maps or OpenStreetMap) to obtain raster images …Continuar leyendo »

Read more »

Announcing Revolution R Enterprise 6.2

April 24, 2013
By
Announcing Revolution R Enterprise 6.2

We are pleased to announce that Revolution R Enterprise Release 6.2 is available to new subscribers today. This new software release from Revolution Analytics includes a number of key new features: Support for open source R 2.15.3, the latest stable release of R. Since Release 2.14.2, the R Project has added 89 new features, 11 performance enhancements and 139...

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training



http://www.eoda.de





ODSC

ODSC

CRC R books series





Six Sigma Online Training





Contact us if you wish to help support R-bloggers, and place your banner here.