# Monthly Archives: April 2011

## Example 8.33: Merging data sets one-to-many

April 5, 2011
By

It's often necessary to combine data from two data sets for further analysis. Such merging can be one-to-one, many-to-one, and many-to-many. The most common form is the one-to-one match, which we cover in section 1.5.7. Today we look at a one-to-man...

## How to: Multinomial regression models in R

April 5, 2011
By

Apples, oranges, pears or bananas? Bus, train, car, or walk? Many choices are made between more than two options, a situation that can be represented by multinomial choice modelling. Here's a quick tutorial on how to do it in R.

## Painting a picture of statistical packages

April 4, 2011
By

Imagine you have to analyze text comprising 18,000 words. You have to identify the most commonly cited ideas or words in the text and then present the analysis in a graphic format. There are sophisticated tools out there to help you with this task, but then again there is a tight deadline. You have fewer than five minutes to...

## R 101: Vectors

Vectors are a basic data structure in R and are created using the c() function. Unlike data frames and lists, the elements of a vector must be of the same mode. Functions can be used on a vector. For example, length(x) can be used to find the number of elements in x. Furthermore, conditions can

## Book: ggplot2 by Hadley Wickham

April 4, 2011
By

All my recent plots are built using ggplot2 package. I don’t know if my dear readers have noticed the difference, but from my point of view, ggplot2 allows to create nice looking and aesthetics plots. I was using this package before, but the real boost came after reading this book: ggplot2: Elegant Graphics for Data Analysis (Use R).

## Comparison of compression

April 4, 2011
By

I recently wrote an email with an attached LZMA archive. It was immediately answered with something like: "What are you doing? I had to boot linux to open the file!" First of all I don't care whether user of proprietary systems are able to read open formats, but this answer made me curious to know about the differences between some compression...

## RQuantLib Windows binary on CRAN

April 4, 2011
By

Dirk Eddelbuettel has recently released RQuantLib-0.3.7, which contains the necessary QuantLib builds to allow the CRAN servers to build the Windows binary.This (thankfully) makes my post on how to build RQuantLib on 32-bit Windows unnecessary for casu...

## The structure of twitter participant relationships in conversations around #Libya, #Bieber, and #Rstats

April 4, 2011
By

I am a recent comer to twitter, and it took me a few weeks to figure out what this was all about. Who are all these people tweeting each other and what do all these trending hashtags mean? Do these … Continue reading →

## Day #16-17 R-scripting templates in knime

To install the community nodes in knime: help > install new software > http://tech.knime.org/update/community-contributions/release you’ll only need the “R and Groovy scripting extensions for KNIME” What is it and what does it...

## Day #17 Creating your own R-scripting-template

First, go take a look at this website: http://rgg.r-forge.r-project.org/docs.html At “6. RGG Elements” you can see which GUI elements you can give to the user and which functions they have. Then, open a textfile and call it however you want...