Blog Archives

reshape (from base) Explained: Part II

May 6, 2012
By
reshape (from base) Explained: Part II

Part II Explains More Complex  Wide to Long With base reshape  In part I of this base reshape tutorial we went over the basics of reshaping data with reshape.  We learned two rules that help us to be more efficient … Continue reading →

Read more »

Normalizing Data

May 5, 2012
By
Normalizing Data

A frequent question for people first learning statistical procedures is how to normalize data.  Other terms for normalizing may include standardizing, scaling and centering (though the last two terms may mean something other than the first two terms).  In my … Continue reading →

Read more »

reshape (from base) Explained: Part I

May 3, 2012
By
reshape (from base) Explained: Part I

This Post Will Explain the Basics of Wide to Long With base reshape (part I) Often your data set is in wide format and some sort of analysis or visualization requires putting the data set into long format.  Hadely Wickham … Continue reading →

Read more »

Function to Generate a Random Data Set

May 2, 2012
By
Function to Generate a Random Data Set

Often I find myself needing data sets to try functions and code out on or for teaching purposes.  I have a few stand-bys such as the mtcars and CO2 data sets in the base packages of R but sometimes I … Continue reading →

Read more »

The Need for paste2 (part III)

May 1, 2012
By
The Need for paste2 (part III)

Final installment:  Part III of a multi part blog on the paste2 function… In my first post on the paste2 function I promised proof of a few practical uses.  In Part II of this series we looked at using paste2 … Continue reading →

Read more »

The Need for paste2 (part II)

April 30, 2012
By
The Need for paste2 (part II)

This is Part II of a multi part blog on the paste2 function… In my first post on the paste2 function I promised a proof of a few practical uses.  The first example I have comes from psychometrics and comes out of … Continue reading →

Read more »

The Need for paste2 (part I)

April 29, 2012
By
The Need for paste2 (part I)

This is Part I of a multi part blog on the paste2 function… I recently generated a new paste function that takes an unspecified list of equal length variables (a column) or multiple columns of a data frame  and pastes … Continue reading →

Read more »

Likert Data: Can You Handle it?

April 28, 2012
By
Likert Data:  Can You Handle it?

As a contributor at talkstats.com one of the most often seen topics of posters’ questions is that of Likert data.  The problem with these questions is there generally is no “correct” answer.  The field has been debating the treatment of Likert … Continue reading →

Read more »

microbenchmarking with R

April 28, 2012
By
microbenchmarking with R

I love to benchmark.  Maybe I’m a bit weird but I love to bench  everything in R.  Recently I’ve had people raise accuracy challenges to the typical system.time and rbenchmark package approaches to benchmarking.  I saw Hadley Wickham promoting the … Continue reading →

Read more »


Subscribe

Email:

  Subscribe