Blog Archives

K-means Clustering (from “R in Action”)

August 7, 2013
By
K-means Clustering (from “R in Action”)

In R’s partitioning approach, observations are divided into K groups and reshuffled to form the most cohesive clusters possible according to a given criterion. There are two methods—K-means and partitioning around mediods (PAM). In this article, based on chapter 16 of R in Action, Second Edition, author Rob Kabacoff discusses K-means clustering. Read more »

Read more »

Analyzing Your Data on the AWS Cloud (with R)

July 22, 2013
By
Analyzing Your Data on the AWS Cloud (with R)

Guest post by Jonathan Rosenblatt Disclaimer: This post is not intended to be a comprehensive review, but more of a “getting started guide”. If I did not mention an important tool or package I apologize, and invite readers to contribute in the comments. …Read more »

Read more »

Tailor Your Tables with stargazer: New Features for LaTeX and Text Output

July 15, 2013
By
Tailor Your Tables with stargazer: New Features for LaTeX and Text Output

Guest post by Marek Hlavac Since its first introduction on this blog, stargazer, a package for turning R statistical output into beautiful LaTeX and ASCII text tables, has made a great deal of progress. Compared to available alternatives (such as …Read more »

Read more »

Creating good looking survival curves – the ‘ggsurv’ function

July 4, 2013
By
Creating good looking survival curves – the ‘ggsurv’ function

This is a guest post by Edwin Thoen Currently I am doing my master thesis on multi-state models. Survival analysis was my favourite course in the masters program, partly because of the great survival package which is maintained by Terry Therneau. The …Read more »

Read more »

Top 100 R packages for 2013 (Jan-May)!

June 13, 2013
By
Top 100 R packages for 2013 (Jan-May)!

(This article was first published on R-statistics blog » RR-statistics blog, and kindly contributed to R-bloggers) What are the top 100 (most downloaded) R packages in 2013? Thanks to the recent release of RStudio of their “0-cloud” CRAN log files (but without including downloads from the primary CRAN mirror or any of the 88 other CRAN mirrors), we can now answer this question...

Read more »

Answering “How many people use my R package?”

June 11, 2013
By
Answering “How many people use my R package?”

The question “How many people use my R package?” is a natural question that (I imagine) every R package developer asks himself at some point or another. After many years in the dark, a silver lining has now emerged thanks …Read more »

Read more »

Log Transformations for Skewed and Wide Distributions

May 27, 2013
By
Log Transformations for Skewed and Wide Distributions

This is a guest article by Nina Zumel and John Mount, authors of the new book Practical Data Science with R. For readers of this blog, there is a 50% discount off the “Practical Data Science with R” book, simply by using the code pdswrblo when reaching checkout (until …Read more »

Read more »

R 3.0.1 is released

May 20, 2013
By
R 3.0.1 is released

R 3.0.1 (codename “Good Sport”) was released last week. As mentioned earlier by David, this version improves serialization performance with big objects, improves reliability for parallel programming and fixes a few minor bugs. Upgrading to R 3.0.1 You can download …Read more »

Read more »

R 3.0.0 is released! (what’s new, and how to upgrade)

April 3, 2013
By
R 3.0.0 is released! (what’s new, and how to upgrade)

A few hours ago Peter Dalgaard (of R Core Team) announced the release of R 3.0.0!  Bellow you can read the changes in this release. One of the features worth noticing is the introduction of long vectors to R 3.0.0. As David Smith …Read more »

Read more »

Updating R (on Windows) through a menu-bar: installr 0.9 released on CRAN

April 1, 2013
By
Updating R (on Windows) through a menu-bar: installr 0.9 released on CRAN

In preparation for the upcoming release of R 3.0.0, a new release 0.9 of installr is now on CRAN. The package can be installed and loaded using: # installing/loading the package: if(!require(installr)) { install.packages("installr"); require(installr)} #load / install+load installr The …Read more »

Read more »