Author Archives
I am a software engineer, business and systems analyst, program manager, and technical architect with a passion for delivering business strategy and technology. Over the past 15 years I have partnered with dozens of employers and clients to achieve goals across the corporate landscape.

R Programming with qplot in ggplot2
The qplot function produces insightful visualizations even with limited data and arguments. I’ll demonstrate some basic graphs in this introduction post to R programming with qplot in ggplot2. The ggplot2 library is required to use the qplot() function, t. Use… Read More ›

R Data Frame Filters Using Brackets
I’ve come to learn that there are many ways to apply R data frame filters, and I won’t cover them all. Some methods require a separate package, and others are scenario based (interactive, for example). I’ll cover basic R data… Read More ›

Beginner Operations with R Data Frames
This post demonstrates beginner operations with R data frames. Below I’ll cover some simple techniques for subsetting data frames and addingandremoving columns. I’ll also explain how to perform vector operations on a factorized column. Selecting Data Frame Columns with the… Read More ›

R Scatter Plot with GGPlot2
This post shares some basic knowledge on creating an R scatter plot with GGPlot2. Read a File and Load ‘ggplot2’ Package mydata < read.csv(file.choose())install.packages(“ggplot2”) The first line of code opens an interactive plot allowing selection of file. The second line… Read More ›

R Data Frame Analysis
This post covers some of the basic R data frame analysis functions. I’ll demonstrate how some of these functions work with matrices too. I’ve used the CheckWeight data set which comes outofthebox with the R programming runtime. data(“ChickWeight”) Type the… Read More ›

Reading Files in R Programming
Reading files in R programming is straightforward. This post demonstrates how to read CSV files using R’s native read_csv function. Also, I’ll demonstrate how to read Microsoft Excel “.xlsx” files using the readxl package. Reading CSV Files in R Programming… Read More ›

Matrix Subset Plots with Matplot in R
This post focuses on how to deal with matrix subset plots with matplot in R. I’ll start by setting up the demo data and then walk through a series of steps explaining how to work with with matrix subsets. I’ll… Read More ›

Plotting Matrices in R with Matplot
Plotting Matrices in R with Matplot is straightforward. In this post, I explore some basics of Matplot using a simple example data set of wind speeds. Creating the Dataset For my example, I made a simple data set of average… Read More ›

Matrix Fundamentals in R Programming
This post covers matrix fundamentals in R programming. Working with matrices in R is a huge topic with complete documentation found at https://cran.rproject.org/doc/manuals/rrelease/Rintro.html#Arraysandmatrices. My post will cover just the basics: Creating matrices Indexing and accessing matrices Options for working with… Read More ›

Variations on R Functions
This post demonstrates how to work with variations on R functions using a few examples with rnorm, seq, and rep. There’s the default signature, order, and behavior for parameters wit these functions. Also, there are ways to change the default… Read More ›