2011

Making R’s paste act more like CONCAT

October 31, 2011 | Jeremy Leipzig

While vector-friendly, R's paste function has a few behaviors I don't particularly like. One is using a space as the default separator:__ adjectives__ paste(adjectives,"er")__ paste(adjectives,"er")[1] "lean er" "fast er" "strong er" #d'oh__ paste(adjectives,"er",sep="")[1] "leaner" "faster" "stronger"Empty vectors get an undeserved first class ... [Read more...]

R 2.14.0 is released

October 31, 2011 | David Smith

As scheduled, the first release of the new R 2.14 series is now available for download in source code form. As of this writing, pre-compiled binaries for Windows, Linux and MacOS aren't yet available, but will appear on your local CRAN mirror in the next couple of days. One of the ... [Read more...]

R 2.14.0 is released!

October 31, 2011 | Paolo Sonego

The new R 2.14.0 is out! Get the source code from here. Take a look at these posts for some miscellaneous advices to make the upgrade easier. Also this thread on stackoverflow and this post contributed by Tal Galili&nbs...
[Read more...]

Power Tools for Aspiring Data Journalists: R

October 31, 2011 | Tony Hirst

Picking up on Paul Bradshaw’s post A quick exercise for aspiring data journalists which hints at how you can use Google Spreadsheets to grab – and explore – a mortality dataset highlighted by Ben Goldacre in DIY statistical analysis: experience the thrill of touching real data, I thought I’d describe ... [Read more...]

Testing for…

October 31, 2011 | CloudStat

Input Output Testing for regression Input: advertising=c(1,2,3,4,5) sales=c(1,1,2,2,4) sales.Reg=lm(sales~advertising) summary(sales.Reg) Output: __ advertising=c(1,2,3,4,5) __ sales=c(1,1,2,2,4) __ __ sales.Reg=lm(sales~advertising) __ summary... [Read more...]

Risk parity

October 31, 2011 | Pat

Some thoughts and resources regarding a popular fund management buzzword. The idea Given asset categories (like stocks, bonds and commodities) create a portfolio where each category contributes equally to the portfolio variance. Two operations There are two cases in creating a risk parity portfolio: the universe is the asset categories ... [Read more...]

Reading Excel data is easy with JGR and XLConnect

October 30, 2011 | Ian

Despite the fact that Excel is the most widespread application for data manipulation and (perhaps) analysis, R's support for the xls and xlsx file formats has left a lot to be desired. Fortunately, the XLConnect package has been created to fill this void, and now JGR 1.7-8 includes integration with ... [Read more...]

Learning R: Project 1, Part 2

October 30, 2011 | DomPazz

So it's been a week since I started down this path.  I worked most of this out over last weekend, went to a conference, had hectic week at work, and then realized I lost my work.  Gah.I'll be posting my general thoughts on R later.  Most...
[Read more...]

Bayesian ideas and data analysis

October 30, 2011 | xi'an

Here is [yet!] another Bayesian textbook that appeared recently. I read it in the past few days and, despite my obvious biases and prejudices, I liked it very much! It has a lot in common (at least in spirit) with our Bayesian Core, which may explain why I feel so ... [Read more...]
1 25 26 27 28 29 143

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)