Blog Archives

Albany, NY R Users Group

March 20, 2014
By

I have started an R Users Group for the Albany, NY area. Hopefully we get enough interest that we can host a meeting in the next couple of months. Please feel free to share with your colleagues and friends.www.meetup.com/Albany-R-Users-GroupFeel fr...

Read more »

Function to Simplify Loading and Installing Packages

February 20, 2014
By

One of the more tedious parts of working with R is maintaining my R library. To make my R scripts reproducible and sharable, I will install packages if they are not available. For example, the top of my R scripts tend to look something like this:if(!require(devtools) | !require(ggplot2) | !require(psych) | !require(lme4) | !require(benchmark)) { install.packages(c('devtools','ggplot2','psych','lme4','benchmark')) }This has worked fine for...

Read more »

Bootstrapping for Propensity Score Analysis

November 26, 2013
By
Bootstrapping for Propensity Score Analysis

I am happy to announce that version 1.0 of the PSAboot package has been released to CRAN. This package implements bootstrapping for propensity score analysis. This deviates from typical implementations such as boot in that it allows for separate sampling specifications for treatment and control units. For example, in the case where the ratio of treatment-to-control units is...

Read more »

Workshop and Talk Slides from NEAIR Conference

November 12, 2013
By

I am about to head home from my fifth time attending the North East Association for Institutional Research (NEAIR), this year in Newport, RI, which was just fantastic. Really great people, interesting talks, and good food. I again taught an Introduction to R and LaTeX for Institutional Research pre-conference workshop and also gave a talk on Propensity Score...

Read more »

Version 1.1 of the likert Package Released to CRAN

October 18, 2013
By
Version 1.1 of the likert Package Released to CRAN

After some delay, we are happy to finally get version 1.1 of the likert package on CRAN. Although labeled 1.1, this is actually the first version of the package released to CRAN. After receiving some wonderful feedback from useR! this year, we held back releasing until we implemented many of the feature suggestions. The NEWS file...

Read more »

TriMatch – useR! 2013 Slides and Version 0.9 Released to CRAN

July 11, 2013
By
TriMatch – useR! 2013 Slides and Version 0.9 Released to CRAN

Our presentation on the TriMatch package at the useR! 2013 Conference went fantastically. Thanks for those who attended and the wonderful discussion that followed. The slides can be downloaded from Github as well as the abstract. To coincide with our presentation version 0.9 has been released to CRAN. The package includes a vignette and two demos.install.packages('TriMatch',repos='http://cran.r-project.org') require(TriMatch) vignette('TriMatch') demo(tutoring) demo(nmes)

Read more »

Version 0.9 of timeline on CRAN

May 9, 2013
By
Version 0.9 of timeline on CRAN

The initial version of the timeline package has been released to CRAN. This package provides creates timeline plots using ggplot2 in a style similar to Preceden. I would considered this beta quality as there are more features I would like to add but has enough functionality to possibly be useful to others.install.packages('timeline',repos='http://cran.r-project.org') require(timeline) data(ww2) timeline(ww2, ww2.events, event.spots=2, event.label='', event.above=FALSE)Timeline...</p><p><a href=Read more »

Gambler’s Run With Shiny

May 8, 2013
By
Gambler’s Run With Shiny

I finally had an opportunity to play with Shiny, and I am very impressed. I have created a Github Project so head over there for the source code. There are a number of ways to distribute Shiny apps. If you are running R (and mostly likely you are if you are reading this), you can download and...

Read more »

Cut Dates Into Quarters

April 18, 2013
By

Frequently I need to recode a date column to quarters. For example, at Excelsior College we have continuous enrollment so we report new enrollments per quarter. To complicate things a bit, our fiscal year starts in July so that July, August, and September represent the first quarter, January, February, and March are actually the third quarter. But sometimes...

Read more »

i Before e Except After c

March 26, 2013
By
i Before e Except After c

When I went to school we were always taught the “i before e, except after c” rule for spelling. But how accurate is this rule? Kevin Marks tweeted today the following: »@uberfacts: There are 923 words in the English language that break the “I before E” rule. Only 44 words actually follow that rule.« Science— Kevin Marks (@kevinmarks)

Read more »