October 2012

Bayes for President!

October 23, 2012 | Gianluca Baio

I couldn't resist getting sucked into the hype associated with the US election and debates, and so I thought I had a little fun of my own and played around a bit with the numbers. [OK: you may disagree with the definition of "fun" $-$ but then again, i... [Read more...]

Benchmarking matrix creation

October 23, 2012 | is.R()

Sometimes it is useful to take a vector, or one column/row of a matrix, and build a new matrix of identical copies of that vector. There are lots of different ways to do this, but I just discovered a new, and very straightforward way to do this with m... [Read more...]

The basics of Value at Risk and Expected Shortfall

October 23, 2012 | Pat

Value at Risk and Expected Shortfall are common risk measures.  Here is a quick explanation. Ingredients The first two ingredients are each a number: The time horizon — how many days do we look ahead? The probability level — how far in the tail are we looking? Ingredient number 3 is a prediction ... [Read more...]

Presidential Debates 2012

October 23, 2012 | tylerrinker

I have been playing with the beta version of qdap utilizing the presidential debates as a data set. qdap is in a beta phase lacking documentation though I’m getting there. In previous blog posts (presidential debate 1 LINK and VP … Continue reading →
[Read more...]

googleVis 0.3.0/0.3.1 is released: It’s faster!

October 23, 2012 | Markus Gesmann

Version 0.3.0 of the googleVis package for R has been released on CRAN on 20 October 2012. With this version we have been able to speed up the code considerably. The transformation of R data frames into JSON works significantly faster. The execution of the gvisMotionChart function in the World Bank demo is ...
[Read more...]

ChIP-seq Analysis with Bioconductor

October 22, 2012 | mintgene

Often scientists are interested in finding genome-wide binding site of their protein of interest. R offers easy way to load and process the sequence files coming from ChIP-seq experiment. During the next weeks I’m going to present a pipeline that … Continue reading → [Read more...]

Top Facebook Posts During the US Presidential Debate

October 22, 2012 | stathack

The following data was collected during the Presidential Debate on the 22nd of October by tapping into the Facebook social graph API using R. The top three posted links during the debate for each candidate are: Obama- #1     http://bit.ly/QCODJg #2     http://bit.ly/RXstnm #3    http://bit.ly/P8MmJ1 ... [Read more...]

Break even ratios for development investment decisions

October 22, 2012 | Derek Jones

Developers are constantly being told that it is worth making the effort when writing code to make it maintainable (whatever that might be). Looking at this effort as an investment what kind of return has to be achieved to make it worthwhile? Short answer: The percentage saving during maintenance has ... [Read more...]

Eight new R User Groups worldwide

October 22, 2012 | David Smith

There are new local R user groups in eight (!) countries to announce this month: Sweden is host to the first R user group in Scandinavia. StockholmR has been holding meetings since September, and their next meeting on November 28 will be on Teaching R and Data visualization using R. In Taiwan, ... [Read more...]

Get an R Data Frame from a MongoDB Query

October 22, 2012 | hrbrmstr

There’s a good FAQ on how to do the MongoDB query -__ R data frame but I wanted to post a more complete example that included the database connection and query setup since I suspect there are folks new to Mongo who would appreciate the end-to-end view. The code ... [Read more...]

Resurrect Posts on Japan and the Yen

October 22, 2012 | klr

As the Yen and Japan continue to get more interesting in my mind, I just wanted to resurrect some posts that I have done on Japan and the Yen and sort them by my favorites. Japan Trade by Geographic RegionJapanese Trade and the YenJapan Intentional or...
[Read more...]

A statistical project bleg (urgent-ish)

October 22, 2012 | leekgroup

We all know that politicians can play it a little fast and loose with the truth. This is particularly true in debates, where politicians have to think on their feet and respond to questions from the audience or from each other.  Usually, we find out a... [Read more...]

Getting data in and out of R

October 22, 2012 | Slawa Rokicki

One of the great advantages of R is that it recognizes almost any data format that you can throw at it. There are a myriad of different possible file formats but I'll concentrate on the four files that we see almost exclusively in public health: Excel ... [Read more...]

Predict User’s Return Visit within a day part-3

October 22, 2012 | Amar Gondaliya

Welcome to the last part of the series on predicting user’s revisit to the website. In the  first part of series, I generated the logistic regression model for prediction problem whether a user will come back on  website in next 24 hours. In the second part, I discussed about model ... [Read more...]

Distribution of colors by flag

October 22, 2012 | is.R()

A story: We showed you how to use R to assess flag similarity and make a scatter plot of raster images. Dr. Wickham referred us to the set of 2400 flag icons made available by GoSquared, and then (probably jokingly) challenged us to replicate the cool... [Read more...]
1 3 4 5 6 7 16

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)