## Rcpp 0.7.7

February 14, 2010
By

Version 0.7.7, a shiny new bug fix release of Rcpp, our set of R / C++ interface classes, just arrived on CRAN and in Debian. The Language class had a real bug leading to this new release just two days after 0.7.6. 0.7.7 2010-02-14 o new te...

## Cure model using R

February 13, 2010
By

The package "nltm" seems to be able to estimate proportional hazard and proportional odds cure models. I will do some experiments and see how it goes.

## Rcpp 0.7.6

February 13, 2010
By

The new 0.7.6 release of Rcpp, our set of R / C++ interface classes, is now at CRAN and Debian. This comes just a few days after 0.7.5 as we had made a mistake in Makefile.win which is now fixed. A few other things sneaked in while were at it, see the ...

## Rcpp 0.7.6

February 13, 2010
By

The new 0.7.6 release of Rcpp, our set of R / C++ interface classes, is now at CRAN and Debian. This comes just a few days after 0.7.5 as we had made a mistake in Makefile.win which is now fixed. A few other things sneaked in while were at it, see th...

## highlight 0.1-5

February 13, 2010
By

pre{ border: 1px solid black ; font-size: small; } I've pushed the version 0.1-5 of highlight to CRAN, it should be available in a couple of days. This version fixes highlighting of code when one wants to display the prompt and the continue pr...

## Rcpp 0.7.6

February 13, 2010
By

Rcpp 0.7.6 was released yesterday. This is mostly a maintenance update since the version 0.7.5 had some very minor issues on windows, but we still managed however to include some new things as well. Vectors can now use name based indexing. This i...

## Exact Complexity of Mergesort, and an R Regression Oddity

February 13, 2010
By
$Exact Complexity of Mergesort, and an R Regression Oddity$

It’s nice to be back after a pretty crazy two weeks or so. Let me start off by stating that this blog post is simply me pondering and may not be correct. Feel free to comment on inaccuracies or improvements! In preparation for an exam and my natural tendencies to be masochistic, I am forcing myself to find the exact...

## Introduce your friends to R

February 12, 2010
By

## Introduce your friends to R

February 12, 2010
By

## R – Sorting a data frame by the contents of a column

February 12, 2010
By

Learn about data frames, selecting columns, and sorting data frames by given columns

## Making publication-ready tables with xtable

February 12, 2010
By

When you use R at the command-line, the textual output is limited by the medium: one monospaced font, with no typesetting of any kind. That's great when you're doing exploratory analysis, but what about when you want to include R output in a report or publication? In other words, what if you want to convert this Analysis of Variance...

## Seminar: Statistical Methods for DNA Resequencing Analysis in Disease-Gene Studies

February 12, 2010
By

Department of Biostatistics Seminar/Workshop Series: Statistical Methods for DNA Resequencing Analysis in Disease-Gene Studies Wenyi Wang, Ph.D., Faculty Candidate Stanford Genome Technology Center, UC Berkeley Statistics 2:00-3:00pm Monday, Februa...

## One-way ANOVA (cont.)

February 12, 2010
By

In a previous post we considered using R to fit one-way ANOVA models to data. In this post we consider a few additional ways that we can look at the analysis. In the analysis we made use of the linear model function lm and the analysis could be conducted using the aov function. The code used

## Highlight the R syntax on your (WordPress) blog using the wp-syntax plugin

February 12, 2010
By

Download link for WP-Syntax plugin (with GeSHi version 1.0.8.6) In case you have a self hosted Wordpress blog, and you wish to show your R code in it, how would you do it? The simplest solution would be to just paste the code as plain text, which will look like this: x <- rnorm(100, mean = 2, sd = 3) plot(x, xlab =...

## Self Aware Classes

February 11, 2010
By

I thought this up the other night but I'm not sure where I'm going to use it. But I thought that I would through it out there anyway, maybe it will solve all of someone else's problems. I was thinking about classes in R and R is SO NOT object oriented...

## Handling hierarchical data structure in R

February 11, 2010
By

R has a comprehensive set of tools for the handling of hierarchical data structure. The most widely used package is probably "nlme" and "lme4", contributed by Douglas Bates and colleagues. While "nlme" is older and probably more mature than "...

## Future of Open Source Survey

February 11, 2010
By

Our good friends at North Bridge Venture Partners have just opened the 2010 Future of Open Source Survey, an annual look at the state of open source technology and business models, the driving factors in rising adoption of open source products and how the market for open-source software is evolving. Anyone who uses open-source software in the commercial world,...

## Artificial Immune Systems and Financial Applications?

February 11, 2010
By

One of the buzzwords that seems to be common these days is AIS or Artificial Immune Systems. It is a biologically inspired classification type system that essentially tries to replicate some of our own natural immune system algorithms. Our bodies hav...

## Running totals in R

February 11, 2010
By

Learn about the cumsum function in R for running totals

## Using J48 Decision Tree Classifier to Dynamically Allocate Next Day Position in Stocks or Bonds

February 11, 2010
By

The prior introduction using a simple model to determine next weeks change based on the S&P 500 index and VIX did not look very promising, although hopefully it served to familiarize yourself with how classification is used in augmenting trading decisi...

## Two New Soils-Related KMZ Demos

February 10, 2010
By

LCC KMZ Soil Texture KMZ   Forgot to post these KMZ files: 1-km scale, aggregate LCC and soil texture data, derived from SSURGO. These are part of a series of KMZ / raster...

## Video: What is R?

February 10, 2010
By

By popular demand, we've made the video of our 30-minute webcast "The R Project" available on YouTube so that everyone can easily watch it. If you (or a friend!) have ever wondered what this R thing is all about, this is the video for you. Here's the first part: Because of YouTube restrictions it's split up into four parts,...

## Loglinear models using R

February 10, 2010
By

For those sociologists who want to estimate complicated loglinear models (e.g. Goodman's RC model) using R, the package "VGAM" seems to be a good choice.

## Speeding up simulations with Amazon EC2

February 10, 2010
By

Over at Cerebral Mastication, JD Long tells a characteristically entertaining and informative story about how he uses R to run stochastic simulations of insurance portfolios and reinsurance treaties. A typical job involves 10,000 simulations, and when each estimate takes over 20 seconds you're talking some serious time to get the job done. Fortunately, this is the kind of problem...

## Tracking Climate Trends with RClimate Scripts and Links

February 10, 2010
By

Some of my visitors may have noticed that I have added a new Climate Images page and have been adding climate data images to my right side panel. So far, I have 6 trend charts, 4 map images, 1 photo image and 1  data value  showing the CO2 concentrations, recent total solar irradiance (TSI) ,

## RClimate Script: Arctic Sea Ice Extent Trend By Month

February 10, 2010
By

This RClimate Script lets users retrieve and plot the latest data on Arctic Sea Ice Extent  trends by month from 1979 to latest completed month. The trend chart shows National Snow and Ice Data Center’s (NSIDC)  monthly Arctic Sea Ice extent data. Arctic Sea Ice Trend by Month I’ve discussed the Arctic sea ice extent

## LocusZoom: Plot regional association results from GWAS

February 10, 2010
By

Update Friday, May 14, 2010: See this newer post on LocusZoom. If you caught Cristen Willer's seminar here a few weeks ago you saw several beautiful figures in the style of a manhattan plot, but zoomed in around a region of interest, with several ot...

## Easy way of determining number of lines/records in a given large file using R

February 10, 2010
By

Dear Readers,Today I would like to post the easy way of determining number of lines/records in any given large file using R.Directly to point.1) If data set is small let say less than 50MB or around in R one can read it with ease using: length(readLines("xyzfile.csv"))2) But if data set is too large say more...