April 2013

Processing ABI .fsa files in R, part 1.

April 11, 2013 | Tyler

I’ve been working on a lot of AFLP data this winter. I’d really like to be able to do all the analysis in R, for a few reasons. First, it would mean no more fighting with GeneMapper, which is incredibly frustrating: it’s Windows-only, expensive, closed-source and painfully ... [Read more...]

Download File from Google Drive/Docs Programmatically with R

April 11, 2013 | Kay Cichini

Following up my lattest posting on how to download files from the cloud with R..dl_from_GoogleD ## Arguments:## output = output file name## key = Google document key## format = output format (pdf, rtf, doc, txt..)## Note: File must be shareable! require(RCurl) bin ssl.verifypeer = FALSE) con writeBin(bin, con) close(... [Read more...]

Le Monde puzzle [#815]

April 11, 2013 | xi'an

The last puzzle was as follows: Take a card stack with 32 cards and divide it into five non-empty piles. A move consists in doubling a pile size by taking card from a single and larger pile. Is it possible to recover the original stack by repeatedly using moves? Same question ...
[Read more...]

Dropbox & R Data

April 11, 2013 | Christopher Gandrud

I'm always looking for ways to download data from the internet into R. Though I prefer to host and access plain-text data sets (CSV is my personal favourite) from GitHub (see my short paper on the topic) sometimes it's convenient to get data stored on Dropbox. There has been a ... [Read more...]

Stepwise Regression for Big Data with RevoScaleR

April 11, 2013 | Joseph Rickert

by Joseph Rickert In a recent blog post, Revolution's Thomas Dinsmore announced stepwise regression for big data as a new feature of Revolution R Enterprise 6.2 that is scheduled for general availability later this month. Today, I would like to provide a simple example of doing stepwise regression with rxLinMod() (the ... [Read more...]

High Obesity levels found among fat-tailed distributions

April 11, 2013 | Matt Asher

In my never ending quest to find the perfect measure of tail fatness, I ran across this recent paper by Cooke, Nieboer, and Misiewicz. They created a measure called the “Obesity index.” Here’s how it works: Step 1: Sample four times from a distribution. The sample points should be independent ... [Read more...]

Summarizing Data in R

April 10, 2013 | atmathew

When work with large amounts of data that is structured in a tabular format, a common operation is to summarize that data in different ways using specific variables. In Microsoft Excel, pivot tables are a nice feature that is used for this purpose. Of course, R also has similar calculations ... [Read more...]

In case you missed it: March 2013 Roundup

April 10, 2013 | David Smith

In case you missed them, here are some articles from March of particular interest to R users. Facebook used R to analyze profile photo changes to create a map of same-sex marriage support in the USA. Joe Rickert contrasts random sampling with fitting models directly to large data sets. A ... [Read more...]

A quick introduction to ggplot2

April 10, 2013 | Karthik Ram

My friend Jonah asked me to guest lecture in his R seminar aimed at grad students and postdocs in Integrative Biology. I gave Jonah a bunch of topic options ranging from reproducible research with R to data manipulation. The consensus was data visualization so I put together a 2 hour talk/... [Read more...]

Tweaking Movie Subtitles with R

April 10, 2013 | Kay Cichini

I use R to fix subtitles that are not in sync with my movies. For the example below the subs were showing too early - so I added some time to each sequence in the srt file. For simplicity I used exactly 1 second in the below example.You'll see that ... [Read more...]

Download Files from Dropbox Programmatically with R

April 10, 2013 | Kay Cichini

Here is a usefull snippet that I stole from qdap::url_dl to download files from my Dropbox to the working directory.Argument x is the document name and d the document key. dl_from_dropbox require(RCurl) bin ssl.verifypeer = FALSE) con writeBin(bin, con) close(con) message(noquote(... [Read more...]

Are knuckleballers more volatile?

April 10, 2013 | pssguy

For years, the Blue Jays have been also-rans in the AL East but splashed out this season turning prospects into established stars in the hope of reaching the World Series Seven games in and the 2-5 start has the perennial doubts resurfacing, particularly as none of the much-vaunted starters has ... [Read more...]

R and social media

April 10, 2013 | Patrick Burns

R is a piece of software, but it is also a community. Help community The most visible aspect of the R community is help.  This is also the most useful to new users.  The initial sense of cooperation with R was driven mainly by people helping each other. You don’... [Read more...]

A few lists for data scientists and statisticians

April 10, 2013 | David Smith

Looking for more resources on the web or people to follow on Twitter? Here are some lists you may find useful: 100 Savvy Sites on Statistics, which includes 17 sites that focus on R Programming Kalido offers this list of 30 influential data scientists on Twitter Big Data Republic is taking votes for ... [Read more...]

Highlight cells in markdown tables

April 10, 2013 | Gergely Daróczi

Although I have always wanted to add such feature to pander, a recent question on SO urged me to create some helper functions so that users could easily highlight some rows, columns or even just a few cells in a table and export the result to markdown,...
[Read more...]
1 7 8 9 10 11 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)