Mapped: British, Spanish and Dutch Shipping 1750-1800

March 30, 2012
By
Mapped: British, Spanish and Dutch Shipping 1750-1800

I recently stumbled upon a fascinating dataset which co

Read more »

R 2.15.0 is released

March 30, 2012
By
R 2.15.0 is released

Bellow is the announcement made by Peter Dalgaard: The build system rolled up R-2.15.0.tar.gz (codename “Easter Beagle”) at 9:00 this morning. This is the first release of the 2.15 series and contains several new features and changes; see the list below for details. You can get the source code from http://cran.r-project.org/src/base/R-2/R-2.15.0.tar.gz or wait for it to be mirrored at...

Read more »

R 2.15.0 is released!

March 30, 2012
By
R 2.15.0 is released!

The new R 2.15.0 is out! You know the drill! Get the source code from here.

Read more »

BoRdeaux (France): the first French R useR conference

March 30, 2012
By

The first French R useR conference will be held in Bordeaux on July 2-3. The Rencontres R are conceived as a place to present and share ideas on using the R statistical software. This meeting is designed to be a nationwide event where various topics belong, such as graphical tools, applied statistics, biostatistics, bayesian statistics,

Read more »

Bootstrap example

March 30, 2012
By
Bootstrap example

Bootstrap your way into robust inference. Wow, that was fun to write.. Introduction Say you made a simple regression, now you have your . You wish to know if it is significantly different from (say) zero. In general, people look … Continue reading →

Read more »

Slow R graphics via SSH

March 30, 2012
By

I do most of my R work on a server via SSH.  Viewing graphics (i.e. plot()) can be excruciatingly slow through the SSH pipe, but it's easy to make it fast.  Simply run:        X11.options(type="Xlib") once in the R session.  Tags:  R

Read more »

UPDATE: Install R 2.14.2 or R 2.15 in Debian Squeeze

March 29, 2012
By

Since not so long, I upgraded  the version of R that is included in the Debian repositories (2.11.1 in Squeeze) and I was very happy with it since 2010. But there was some packages that I could not install and then, I decided to upgrade R despite ...

Read more »

R-bloggers

March 29, 2012
By
R-bloggers

OK, like the nightclub Kenan and Kel founded in Rigby’s shop, we all know this blog is ‘duh bomb’ (or will be as I add more than my solitary post). However, there are other good R blogs. I thoroughly recommend signing up to the R-b...

Read more »

See how Deloitte uses R for actuarial analysis

March 29, 2012
By

Many thanks to Jim Guszcza (Predictive Analytics lead at Deloitte Consulting and Assistant Professor at UW-Madison) who gave a great webinar presentation yesterday on actuarial analysis with R. Jim's demo (starting at the 20 minute mark in the video replay below) is a great way to get a sense of how R is used for exploratory data analysis and...

Read more »

Dividing the Sample Set in two (Validation & Training)

March 29, 2012
By
Dividing the Sample Set in two (Validation & Training)

We have in the Demo sample set “66” samples.  In this post we´ll see one way to divide the set in two parts: one for “Validation” and another for Training or Calibration.The selection will be random. And we are going to use the command:

Read more »

Functional regression, INLA, and how to build the World’s Slowest Fourier Transform

March 29, 2012
By
Functional regression, INLA, and how to build the World’s Slowest Fourier Transform

Read more »

Psychotherapies PubMed battle

March 29, 2012
By
Psychotherapies PubMed battle

Ever wondered how different psychotherapy orientations match up in a PubMed battle? Continue reading to find out and to see how to test this using R and Ggplot2.

Read more »

PK models in R and in Julia

March 29, 2012
By

1.1 Pharmacokinetic models with an analytic solution Pharmacokinetics is the study of the absorption and elimination of drugs and their metabolites in the body. As described in the wikipedia article there are several parameters, such rate constants,...

Read more »

Updates to the Deducer family of packages

March 29, 2012
By

Over the past month there have been a number of package updates in the deducer ecosystem. Deducer is a general purpose, extensible, data analysis GUI. It is designed to be a free easy to use alternative to proprietary data analysis software such as SPSS, JMP, and Minitab. It has a menu system to do common

Read more »

Using wordcloud on search terms & phrases

March 28, 2012
By
Using wordcloud on search terms & phrases

The wordcloud package for R is great, but all the examples I found used the tm package to process a large amount of textual data (web pages, text files, google docs, etc.)But what if you have normalized data where you have a word and its frequency? Or,...

Read more »

email habits over time

March 28, 2012
By
email habits over time

I was curious if my sleeping/waking habits had really changed over the years – I definitely don’t feel I work as late now as when I was 22, but it’s hard to tell. To test this, I looked over all … Continue reading →

Read more »

robust pdf title extraction

March 28, 2012
By

I end up with a lot of PDF documents lying around – at last glance, this amounted to a few thousand files. Unfortunately, most of these documents end up with rather obscure names, making it rather annoying to find what … Continue reading →

Read more »

tcp timelines with ggplot2

March 28, 2012
By
tcp timelines with ggplot2

I’ve come across the need to analyze TCP flows from time to time, and while scripts like flowtime and EasyTimeline are nice, they aren’t really, well, pretty.  ggplot2, on the other hand is, and it turns out to be really easy to … Continue reading →

Read more »

SCRIPT for NIR "DEMO" Tutorial – 001

March 28, 2012
By
SCRIPT for NIR "DEMO" Tutorial – 001

########### RAW NIR Demo Data##################################demo<-read.table("demo.txt",header=TRUE)VIS<-demoVIS<-as.matrix(VIS)NIR<-demoNIR<-as.matrix(NIR)ALL<-demoALL<-as.matrix(ALL)Protein<-demo...

Read more »

Bigger data, better intelligence for government

March 28, 2012
By

Tomorrow (at 2PM Eastern on Thursday), the White House White House Office of Science and Technology Policy will host a 90-minute forum on Challenges and Opportunities in Big Data. You can watch the event live at the previous link, and see federal government science heads from OSTP, NSF, NIH, DoE, DoD, DARPA and USGS outline how their agencies are...

Read more »

U.S. Soldiers Died from What?

March 28, 2012
By
U.S. Soldiers Died from What?

Prior to WWII, the majority of soldiers died from disease and infection. The Invisible Enemy Often Killed You Before Your Political Enemy Imagine the scene: thousands of military men laying on cots, makeshift beds, or the floor ...

Read more »

RcppArmadillo 0.2.37 and 0.2.38 released, but not on CRAN

March 28, 2012
By

Conrad is readying his fabulous Armadillo C++ template library for linear algebra for a new 3.0.0 release, and started to make pre-releases. His version 2.99.1 came about a good week ago, it took us a few days to make a small required change in RcppAr...

Read more »

Go faster R for Google’s summer of code 2012

March 28, 2012
By

The R Foundation has been accepted for Google’s summer of code and I thought I would suggest a few ideas for projects. My interests are in optimization and source code analysis, so obviously the suggestions involve these topics. There are an infinite number of possible optimizations that can be applied to code (well, at least

Read more »

useR!2012 – student’s scholarship for attending the conference

March 28, 2012
By

Good news for students wishing to attend the annual useR conference (useR!2012). Through generous sponsor support (ASA, and RStudio), a limited number of student scholarships1 are available for reimbursement of travel and registration costs up to $500. The allocation will be based on merit and need. Students who wish to apply should send an application to Tatsuki Koyama ([email protected]) no later than...

Read more »

Applying Same Changes to Multiple Dataframes

March 28, 2012
By
Applying Same Changes  to Multiple Dataframes

How to apply the same changes to several dataframes andsave them to CSV: # a dataframea <- data.frame(x = 1:3, y = 4:6)# make a list of several dataframes, then apply function (change column names, e.g.):my.list <- list(a, a)my.list <- lapply(...

Read more »

lubridate: working with date and time in R

March 28, 2012
By
lubridate: working with date and time in R

Working with date and time in R is sometimes tricky. Today I gave lubridate a try and was surprised on how easy it can be. Lubridate is a available on git and on CRAN. There is also a good introduction … Continue reading →

Read more »

AQP Kick-Start

March 27, 2012
By

A fun kick-starter for anyone interested in working with soil profile data in R, via AQP. See in-line comments for details. Up next, profile slicing and aggregation. read more

Read more »

Ruin probability and infinite time

March 27, 2012
By
Ruin probability and infinite time

A couple of weeks ago, I had a discussion with a practitioner, working in some financial company, about ruin, and infinite time. And it remind me a weird result. Well, not a weird result, but a result I found disturbing, at first, when I was a stud...

Read more »

Students: Help improve R with the Google Summer of Code

March 27, 2012
By

The Google Summer of Code project provides funding for students to write and contribute code to open-source projects of interest to Google. And given that R is widely used at Google, it's certainly a project of significant interest. So for the fifth year running the R Project will mentor students as part of GSOC 2012 to develop packages and...

Read more »