Annotated and presented by Kat Placek:
#This is a way to visualize your dataset prior to doing any longitudinal modeling #This assumes your data is already in "long" format #First load dataset mydata<-read.csv("~/mydata.csv") #Then, do Spaghetti plots with "ggplot2", combine with "gridExtra": #First load essential packages: library(ggplot2) library(gridExtra) #allows you to combine ggplots #Create a theme for your plots (optional): mytheme … Continue reading Spaghetti Plots for Visualizing a Continuous Dep. Var.
Following the poll we opened late last month, we have selected a new meeting time for the summer. Beginning on May 25th, we will begin meeting on Thursdays from 03:00 - 04:30pm. We will be meeting in the same location as before, in the Seminar Room of the Weigel Information Commons (WIC) (See the "Finding … Continue reading New, Summertime Meeting Time Starts 05/25
We are currently choosing a new time to meet during summer 2017. If you would like to join us over the summer, please let us know which times work for you through our Doodle poll. The poll closes on May 5th.
Today we had a hackathon-style session on changing data from long-ish format (in which participants represented in a dataset may have more than one row -- for example, representing timepoints) to wide format (in which each participant is represented in only one row), and then back to fully long (in which each row represents one … Continue reading Reshaping data from long-ish to wide (and back to fully long)
Today, Steve Brooks is talking about running descriptive analyses. The code below is reprinted from our GitHub repository. The dataset that goes with this code can be downloaded here, directly from the GitHub repository, as well. (You can right-click on this link and select "Save As..." to save the dataset.)
Today we are discussing ggplot2. Below is code that we talked through, showing the basic syntax and approach for ggpplot2.