April 2011

Pivot Tables and Medians in R

April 16, 2011 | hayward

Pivot Tables are a useful way of aggregating data into the format that you’re after. In this example, I’m going to be using R to pivot some data and calculate medians for me. This is useful because Excel can calculate medians (the =MEDIAN(values)) function, but what it ... [Read more...]

Trackman Position Needs R Knowledge

April 16, 2011 | Millsy

Thought some of the R-Blogger readers would be interested in the position linked below. If you're a baseball fan and like working in R, this is a fun company that seems to be getting more and more press. Recently, it was featured in Sports Illustrate... [Read more...]

Speeding up agent-based simulations with data frames in R

April 16, 2011 | gary

In health economics it is common to use agent-based simulations for exploring epidemiological models, prevention policies, and clinical interventions, among other things. In C++ I enjoy using object-oriented design to build these agent-based models. It feels so natural. In R, … Continue reading → [Read more...]

Introduction to Cointegration and Pairs Trading

April 15, 2011 | Edwin Chen

Introduction Suppose you see two drunks (i.e., two random walks) wandering around. The drunks don’t know each other (they’re independent), so there’s no meaningful relationship between their paths. But suppose instead you have a drunk walking with her dog. This … Continue reading → [Read more...]

Friday Function: setInternet2

April 15, 2011 | richierocks

Corporate IT networks are a pain for programmers. Ideally, when programming, you want the freedom to download, install and run any software that you want. Unfortunately, in the interests of security, many programmers find themselves a little restricted at the office. (I’m sure that many network admins will protest ... [Read more...]

Slides and replay for PMML webinar

April 15, 2011 | David Smith

If you missed Wednesday's webinar on Deploying Predictive Analytics with Revolution R, PMML and ADAPA, the presentation slides and the replay (in WMV, reg. req'd) format are now available for download. Here are some additional references, from the closing slide: How Revolution R and ADAPA work together The PMML Package ... [Read more...]

Visualizing tax brackets

April 15, 2011 | David Smith

With Tax Day fast approaching here in the US, there's been a lot of discussion about tax policy and in particular the tax rates paid by the highest income earners. Like in many countries, here the income tax system is bracketed: Tax Bracket Single Married Filing Jointly 10% Bracket $0 – $8,375 $0 – $16,750 15% Bracket $8,375 – $34,000 $16,750 – $68,000 25% Bracket $34,000 – $82,400 $68,000 – $137,300 28% ... [Read more...]

Rook shipped to CRAN

April 15, 2011 | awaiting assimilation

I sometimes feel like this picture: alone, left with just my thoughts and a little light to illuminate my work. For my daughter pictured above on the stool, her work is a pen and ink drawing. For me, it’s a finished piece of software to share with t... [Read more...]

RStudio 0.93 Beta Available

April 15, 2011 | JeroldHaas

In case you miseed, 0.93 Beta of RStudio is released! A good set of fixes, including vignette() (sorry edit() not compatible yet). The panel layout is fully customizable, and there are a load of bug fixes. See the Release Notes for more info.
[Read more...]

Recursive Trading System in R

April 15, 2011 | Milk Trader

I have a trick knee. Normally, it works just fine. But if I stand on my head when its raining on Tuesdays and Thursdays and pinch my nose, it hurts. Not just a little. It hurts a lot. I went to the doctor and he told me not to stand ...
[Read more...]

Download R 2.13.0 for Windows

April 15, 2011 | Quantitative Finance Collector

Some of you may hear that the new release of R 2.13.0 is out, with some Windows-specific changes to R 2.13.0:file.exists() and unlink() have more support for files __ 2GB;A few more file operations will now work with __2GB files.which could help us to relieve the worry of handling ... [Read more...]

How to upgrade R on windows 7

April 15, 2011 | Tal Galili

Background – time to upgrade to R 2.13.0 The news of the new release of R 2.13.0 is out, and the R blogosphere is buzzing. Bloggers posting excitedly about the new R compiler package that brings with it the hope to speed up our R code with up to 4 times improvement. So it ... [Read more...]

R 2.12 to 2.13 package upgrade

April 14, 2011 | nsaunders

If you: use Linux have just upgraded your R installation from 2.12 to 2.13 installed some/all of your packages in your home area (e.g. ~/R/i486-pc-linux-gnu-library/2.12) and… …are wondering why R can’t see them any more just do this: # at a shell prompt cp ~/R/i486-pc-linux-gnu-library/2.12 ~/R/... [Read more...]

Easy Upgrading of R

April 14, 2011 | jebyrnes

For those who are excited about the new 2.13.0 release of R (particularly the compiler package) but are grumbling about having to remember what packages they have and re-install them, see this great advice or this piece on upgrading in osx for how to a... [Read more...]

gRain: genetics example

April 14, 2011 | Gregor Gorjanc

gRain is an R package for "probability propagation in graphical independence networks, also known as probabilistic expert systems (which includes Bayesian networks as a special case)". This package caught my attention because some genetic models can b... [Read more...]

In case you missed it: March Roundup

April 14, 2011 | David Smith

In case you missed them, here are some articles from February of particular interest to R users. The doSMP package, which enables parallel processing for R on multiprocessor machines, is now available on CRAN. The Offensive Politics blog provided R code used to make a map of precinct returns in ... [Read more...]
1 6 7 8 9 10 14

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)