Articles by Jason Bryer

Version 1.0 of sqlutils available on CRAN

January 15, 2013 | Jason Bryer

Version 1.0 of sqlutils has been released to CRAN. The sqlutils package is designed to manage a library of SQL files. This package grew out of the needs of an Office of Institutional Research where the vast majority of analysis is conducted on data from our Student Information System (SIS) which ... [Read more...]

Interactive SQL in R

January 12, 2013 | Jason Bryer

I recently taught a very basic introduction to SQL workshop and needed a way to have participants interact with SQL statements. Obviously there are lots of tools to interface with a database, but since we are all R users I thought it would be nice to be able interact without ... [Read more...]

Reading Codebook Files in R

January 10, 2013 | Jason Bryer

One issue I continuously encounter when starting to work with a new dataset is that of the codebook. In general, I prefer to load a codebook into R like any other data source, specifically as a data frame. And ideally, one data frame to provides the variable names with descriptions ... [Read more...]

Using (R) Markdown, Jekyll, & GitHub for a Website

December 10, 2012 | Jason Bryer

Introduction Markdown has been growing in popularity for writing documents on the web. With the introduction of R Markdown (see also Jeromy Anglim’s post on getting started with R Markdown) and knitr, R Markdown has simplified the publishing of R analysis on the web. I recently converted my website ... [Read more...]

Fifty Shades of Grey in R

December 8, 2012 | Jason Bryer

My wife went out to her book group tonight and their book of the month was 50 Shades of Grey. Sadly, I could think of is that plotting 50 shades in R would be a neat exercise. require(ggplot2) grey50 [Read more...]

Fun with coin flips

November 21, 2012 | Jason Bryer

We all know that the odds of flipping an unbiased coin is 50% heads, 50% tails. But what happens if you do this a lot of times. Do you expect the same number of heads and tails? What if we took a cumulative sum where heads = +1 and tails = -1. What wou... [Read more...]

Visualizing Missing Data

November 17, 2012 | Jason Bryer

There are several graphics available for visualizing missing data including the VIM package. However, I wanted a plot specifically for looking at the nature of missingness across variables and a clustering variable of interest to support data preparati... [Read more...]

User Input using tcl/tk

August 13, 2012 | Jason Bryer

I was inspired by Kay Cichini  recent post on creating a a tcl/tk dialog box for users to enter variable values. I am going to have a use for this very soon so took some time to make it a bit more generic. What I wanted is a function ... [Read more...]

Setting Up and Customizing R

March 7, 2012 | Jason Bryer

For the longest time I resisted customizing R for my particular environment. My philosophy has been that each R script for each separate analysis I do should be self contained such that I can rerun the script from top to bottom on any machine and get the same results. This ... [Read more...]

Object Oriented Programming in R

January 20, 2012 | Jason Bryer

As someone who was a Java programmer for many years learning R’s object oriented programming framework has been frustrating to say the least. I like the simplicity of S3 but find it limiting when you wish to write methods that change the underlying data elements. That is, printing, summarizing, ... [Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)