An Introduction to Plotly in R

Liis Hantsoo presented the following code for using Plotly on September 22nd:  

Advertisements

Spaghetti Plots for Visualizing a Continuous Dep. Var.

#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.