Sciviews

December 8, 2009
By
Sciviews

I was finally able to get Sciviews (most of it) work on my Linux machine. As before, I got some error message when opening the R terminal for the first time; by ignoring the error messages and manually install several "sv" packages locally (into my hom...

Read more »

R Tutorial Series: Multiple Linear Regression

December 8, 2009
By
R Tutorial Series: Multiple Linear Regression

In R, multiple linear regression is only a small step away from simple linear regression. In fact, the same lm() function can be used for this technique, but with the addition of a one or more predictors. This tutorial will explore how R can be used to...

Read more »

R Function Usage Frequencies, Take 2

December 8, 2009
By
R Function Usage Frequencies, Take 2

Yesterday, Hadley Wickham commented on my post on the frequency of calling various R functions that it would be helpful to have the number of packages that call a function in addition to the number of times that the function is called. I compiled the relevant data last night: you can grab it here This

Read more »

Implementing Push and Pop in R

December 7, 2009
By

Having grown up with Perl, there are two functions that I desperately miss while programming in R: push and pop. Continually writing 1 vector <- c(vector, new.entry) tries my patience, while writing 1 2 vector <- rep(NA, inscrutable.constant) vector <- new.entry makes me feel like I’m programming in C, rather than a higher-level programming language. That said, here’s a simplistic hack to provide

Read more »

R, REvolution named in top analytic trends for 2010

December 7, 2009
By

Author and enterprise software executive Nenshad Bardoliwalla lists his Top 10 Trends for 2010 in Analytics, Business Intelligence, and Performance Management at the website Enterprise Irregulars. If you've been following the Business Intelligence space (and who hasn't, right?) you'll recognize some familiar themes: predictive analytics, Web 2.0, Software-as-a-Service, risk, IBM. What's interesting about this list is that it raises...

Read more »

Advanced SNA with R, via Harvard Political Nets Conference

December 7, 2009
By

End of semester madness has begun, so posting will likely be light this week. To keep you busy, David Lazer recently posted the five video series of the Goudreau-Hunter tutorial on social network analysis using R from the 2009 Harvard Political Networks Conference. Each video run about 60 minutes, so these will literally provide hours

Read more »

R Function Usage Frequencies

December 7, 2009
By
R Function Usage Frequencies

A few months ago I decided to apply word frequency analysis ideas to R code. My idea was simple: the functions that one should invest the most effort into learning are precisely those functions that are used most frequently in real world code. In fact, this simple idea can be applied to spoken languages as

Read more »

Understanding the Science of CO2’s Role in Climate Change: 3 – How Green House Gases Trap Heat

December 7, 2009
By
Understanding the Science of CO2’s Role in Climate Change: 3 – How Green House Gases Trap Heat

This post, the 3rd (1st here, 2nd  here) in the series on Understanding the Science of CO2’s Role in Climate Change, discusses how water vapor, CO2, CH4, O3 and N2O  absorb and emit the Earth’s longwave radiation, changing the Earth’s energy balance. I’ve made a 5 panel chart that shows spectra data for 5  greenhouse

Read more »

A web application for R’s ggplot2

December 7, 2009
By

One of the exciting new frontiers for R programming is of creating website interfaces to R code. At the forefront of this domain is a young and (very) bright man called Jeroen Ooms, whom I had the pleasure of meeting at useR 2009 (press the link to see his presentation). Today Jeroen announced a new version (0.11)

Read more »

pgfSweave now on CRAN

December 6, 2009
By

At long last pgfSweave has finally made its way to CRAN. http://cran.r-project.org/web/packages/pgfSweave/index.html The pgfSweave R package is about speed and style of graphics. For speed, the package provides capabilities for “caching” graphics generated with Sweave on top of the caching funcitonality of cacheSweave. For style the pgfSweave package facilitates the integration of R graphics with

Read more »

Create factor variables in R

December 6, 2009
By
Create factor variables in R

Instead of the factor() function which usually applies after defining a vector there’s the gl() base function to do this in one step, eg freq <- c(204,6,1,211,13,5,357,44,38,92,34,49) row <- gl(4,3,length=12) col <- gl(3,1,length=12) > col 1 2 3 1 2 3 1 2 3 1 2 3 Levels: 1 2 3 tt <- data.frame(freq,row,col) > xtabs(tt) col row   1   2   3 1 204   6  

Read more »

digest 0.4.2

December 6, 2009
By

digest version 0.4.2 is now on CRAN. This new version features a fix by Henrik Bengtsson who also joined the R-Forge-hosted digest project.

Read more »

digest 0.4.2

December 6, 2009
By

digest version 0.4.2 is now on CRAN. This new version features a fix by Henrik Bengtsson who also joined the R-Forge-hosted digest project.

Read more »

digest 0.4.2

December 6, 2009
By

digest version 0.4.2 is now on CRAN. This new version features a fix by Henrik Bengtsson who also joined the R-Forge-hosted digest project.

Read more »

Design of Experiments – Blocking and Full Factorial Experimental Design Plans

December 6, 2009
By

When considering using a full factorial experimental design there may be constraints on the number of experiments that can be run during a particular session, or there may be other practical constraints that introduce systematic differences into an experiment that can be handled during the design and analysis of the data collected during the experiment. Blocking

Read more »

The animation package

December 5, 2009
By
The animation package

The "animation" package is a good teaching tool to demonstrate some key concepts in a introductory statistics course.

Read more »

Two more R related web sites

December 5, 2009
By
Two more R related web sites

R bloggersFree statistics e-booksPlanet R

Read more »

R twitts…

December 5, 2009
By
R twitts…

You may already know this… #rstats I think I might get an account when get to connect to the Internet in my mobile phone

Read more »

Advances in Social Science Research Using R

December 5, 2009
By
Advances in Social Science Research Using R

This seems to be a book worth buying: http://www.springer.com/statistics/business/book/978-1-4419-1763-8It will come out in May 2010.

Read more »

Because it’s Friday: The Earth, with rings

December 4, 2009
By

To wind down your afternoon, relax and enjoy the view from various places around the globe of the Earth's rings in the sky ... if the Earth, like Saturn, had rings subject to the Roche Limit. YouTube: What Earth Would Look Like With Rings Like Saturn

Read more »

[S. Lynch] Introduction to Applied Bayesian Statistics and Estimation for Social Scientists

December 4, 2009
By
[S. Lynch] Introduction to Applied Bayesian Statistics and Estimation for Social Scientists

Well, that’s a good book that you shouldn’t miss “Introduction to Applied Bayesian Statistics and Estimation for Social Scientists”. Why you shouldn’t miss it? Coz, it’s practical and I mean p r a c t i c a l big time!!! I don’t own tons of (traditionally) printed books but that’s one of the few breaking

Read more »

How R is disrupting a billion-dollar market

December 4, 2009
By

Zack Urlocker, the EVP for Products at MySQL before it was acquired by Sun (and now an executive at Sun) has written an article at InfoWorld suggesting that the recent rash of articles looking at how IBM's acquisition of SPSS is affecting the BI market dominated by SAS are downplaying the real agent of change in the space: R....

Read more »

R information

December 4, 2009
By
R information

http://romainfrancois.blog.free.fr/index.php?

Read more »

In case you missed it: November roundup

December 4, 2009
By

In case you missed them, here are some articles from last month of particular interest to R users. This post demonstrated reader Paul Bleicher's code for visualizing a time series as a heat-map calendar. This post and followup showed (with thanks to Drew Conway) how to use R to perform social network analysis on live data from Twitter. This...

Read more »

swfDevice: Help Wanted (Windows Build) and Outlook

December 3, 2009
By

swfDevice is an R package I am developing that produces swf (flash) files natively from R. If anyone can step up and help get a working windows build up and running that would be great! I have little expertise with windows and I am just about stuck as what to do next. The task involved

Read more »

Using Git with R-Forge OR Adding an local Git branch to track an Subversion Repo

December 3, 2009
By

These instructions were originally from instructions from my friend Charlie. I really like to use Github but R-Forge has alot of nice features for package development, so why not get the best of both worlds. Say you have a git repo (with an R package or something else) but want to create a local brach

Read more »

R2admb

December 3, 2009
By
R2admb

I gave R2admb a test run and found it quite promising. The design is simple: to have a simple interface between R and ADMB so ADMB can get input from R and can send output back to R for further processing. This does not eliminate the trouble of writing...

Read more »

My Five Rules for Data Visualization

December 3, 2009
By
My Five Rules for Data Visualization

Tonight the NYC R Meetup will be discussing data visualization in R using ggplot2. As part of tonight’s meeting I will be providing a very brief show and tell, which includes mostly code examples and external resources. This exercise has had me thinking quite a bit about data visualization. In addition, a

Read more »

ggplot2: Overplotting In a Faceted Scatterplot

December 3, 2009
By
ggplot2: Overplotting In a Faceted Scatterplot

Hadley Wickham recently shared a nice tip on how to get a faceted scatterplot plot with all points in the background of each plot. This technique makes a clever use of setting the faceting variable to NULL so that all points are plotted in light grey in all the facets. > library(ggplot2) > ggplot(mtcars, aes(cyl,

Read more »