June 2012

R script to manipulate health data

June 3, 2012 | John

Here is the code that fixed up the World Bank data export for use in Tableau. The databank spits out everything in an untidy format for grouping and aggregating. The reshape2 and plyr packages  make it easy to manipulate the whole set … Continue reading → [Read more...]

R and theater

June 3, 2012 | fabiomarroni

You might ask what R has to do with theater. I assure you it has. I act in the theater group ‘ndescenze. We will soon present (actually, we just performed) a show based on the Marx Brothers Radio Shows. We shuffle actors and characters during the show (we like it ... [Read more...]

Pasting Excel data into R on a Mac

June 2, 2012 | Thom

When starting out with R, getting data in and out can be a bit of a pain. It should take long to work out a convenient method – depending on what OS you use and what other packages you work with. In my case I prefer to work with Excel spreadsheets (... [Read more...]

Project Euler — problem 6

June 2, 2012 | Tony

It’s midnight officially. Let me solve the sixth problem before bed. This is a quick one. The sum of the squares of the first ten natural numbers is, 12 + 22 + … + 102 = 385. The square of … Continue reading → [Read more...]

Calling R from SAS IML Studio

June 1, 2012 | DomPazz

I am playing around with SAS IML Studio 3.4.  For those that do not know, IML (Interactive Matrix Language) is the Matlab-esk language from SAS.  It opperates from normal SAS code through the PROC IML procedure.  A new (to me at least) UI has been developed for analysts called IML Studio.  ... [Read more...]

System from Trend Following Factors

June 1, 2012 | klr

As I thought more about Trend Following Factors from Hsieh and Fung, I thought that the trend following factors might indicate a state/regime for the equity markets that could potentially offer momentum-style timing signals for a system on the S&P ...
[Read more...]

Distribution of Oft-Used Bash Commands

June 1, 2012 | Corey Chivers

Browsing commandlinefu.com today, I came across this little one-liner to display which commands I use most often. Here’s what I got: Yep, seems legit. I navigate and look at files a whole bunch (ls, cd, cat), and I do a butt tonne of editing (vim). I sudo like ... [Read more...]

Life contingencies with R

June 1, 2012 | arthur charpentier

I will be giving in less than four weeks a short course at the 6th R/Rmetrics Meielisalp Workshop & Summer School on Computational Finance and Financial Engineering organized by ETH Zürich, https://www.rmetrics.org/. The talk will be on Actuarial models with R, and first part will be ... [Read more...]

The influences that shaped R: Inferno-ish R

June 1, 2012 | David Smith

Patrick Burns, author of the excellent R Inferno, gave a presentation about R at the Cambridge R User Group this week. (Revolution Analytics is a proud sponsor of CambR.) I wasn't at the presentation myself, but Pat always gives a great talk, and he's generously provided his slides with copious ... [Read more...]

Selection in R

June 1, 2012 | John Mount

The design of the statistical programming language R sits in a slightly uncomfortable place between the functional programming and object oriented paradigms. The upside is you get a lot of the expressive power of both programming paradigms. A downside of this is: the not always useful variability of the language’... [Read more...]

Color Tools

June 1, 2012 | Jason C Fisher

Colors are mysterious business and choosing the right color or color palette for an R graphics can sometimes be a chore. To alleviate this burden, I present two functions for choosing color values. To access these functions install the RSurvey and dichromat packages:
install.packages<span>(</span>c<span>(</span><span>"RSurvey"</span><span>,</span> <span>"dichromat"</span><span>))</span>
library<span>(</span>RSurvey<span>)</span>
Choose Color The first function, ChooseColor (... [Read more...]
1 13 14 15

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)