July 2012

ScraperWiki in R

July 29, 2012 | Karsten W.

ScraperWiki describes itself as an online tool for gathering, cleaning and analysing data from the web. It is a programming oriented approach, users can implement ETL processes in Python, PHP or Ruby, share these processes among the community (or pay for privacy) and schedule automated runs. The software behind the ... [Read more...]

Hangman in R: A learning experience

July 28, 2012 | tylerrinker

I love when people take a sophisticated tool and use it to play video games. Take R for example. I first saw someone create a game for R at talk.stats.com. My friend Dason inspired me to more efficiently waste time … Continue reading →
[Read more...]

Petrol prices adjusted for inflation

July 28, 2012 | nzcoops

Petrol prices adjusted for inflation (Perth, Western Australia) The thought for this sprung to mind when I saw petrol drop below $1.20 per litre the other day, and it made me think, I remember paying that when I got to … Continue reading → [Read more...]

My no loops in R hair shirt

July 27, 2012 | Derek-Jones

Being professional involved with analyzing source code I get to work with a much larger number of programming languages than most people. There is a huge difference between knowing the intricate details of the semantics of a language and being able to fluently program in a language like a native ... [Read more...]

Revolution Analytics at JSM 2012

July 27, 2012 | David Smith

Revolution Analytics is proud to once again be a gold sponsor and Wi-Fi sponsor of the JSM 2012 conference in San Diego, the largest gathering of statisticians, biostatisticians, analysts, data miners and data scientists in the world. The conference begins on Sunday, and you'll find the Revolution Analytics team in the ... [Read more...]

rApache 1.2.0 Released

July 27, 2012 | Jeffrey Horner

With this release comes a minor change in behavior: for requests that have been configured with RFileEval, RFileHandler, or using the r-script handler, rApache will set the working directory to the file’s directory. For instance with a Rook deployment like this:
 <Location /hmisc> 
        SetHandler r-handler 
        RFileEval "/home/hornerj/Hmisc/config.R:Rook::Server$call(app)" 
</Location>
It makes sense to change the working ... [Read more...]

ggplot2: A little twist on back-to-back bar charts

July 27, 2012 | Sangyoon Lee

Sangyoon Lee BackgroundWhile thinking about ways to represent incoming and outgoing flows in a business process, I thought about using export-import charts like the one shown here in the Learning R blog. However, as the author acknowledges, it is difficult to compare individual values using these charts. Regardless, I still ... [Read more...]

Evolution average number of beds per hospital

July 27, 2012 | Bart

The OECD collects (among a lot of other statistics) information on the number of hospitals and hospital beds per country. These two parameters combined and its evolution over the years could give an indication on whether or not the country’s hospital landscape is evolving towards large medical centers, small ... [Read more...]

Linear regression by gradient descent

July 26, 2012 | Christopher Bare

In Andrew Ng's Machine Learning class, the first section demonstrates gradient descent by using it on a familiar problem, that of fitting a linear function to data. Let's start off, by generating some bogus data with known characteristics. Let's make y just a noisy version of x. Let's also add 3 ... [Read more...]

Big vectors coming to R

July 26, 2012 | David Smith

R has been available as a 64-bit application since it's earliest days. But the internal representation of R's fundamental data type — the vector — has long been subject to a 32-bit limitation: the maximum number of elements is capped at 2^31 (or just over 2.1 billion) elements. Now, at 8 bytes per element that's 16... [Read more...]

Monitor: Using category labels

July 26, 2012 | jrcuesta

I´ve been checking recently the performance of a calibration of compound feed with  a set of samples (15): 3 samples of hen feed, 3 of pig feed, 3 of chicken feed, 3 of ovine feed and 3 of cattle feed.The idea is to check if the calibration predi...
[Read more...]

Plotting 95% Confidence Bands in R

July 26, 2012 | Daniel Hocking

I am comparing estimates from subject-specific GLMMs and population-average GEE models as part of a publication I am working on. As part of this, I want to visualize predictions of each type of model including 95% confidence bands. First I had to ma...
[Read more...]

R Inferno-ism: order is not rank

July 26, 2012 | Pat

Do not use order when you want rank. Background The update of “A comparison of some heuristic optimization methods” is due to the bug that Luca Scrucca spotted. Actually, it is two bugs: I used order when I meant rank This somehow escaped being in The R Inferno   Problem What ...
[Read more...]
1 2 3 4 13

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)