RSI

R Summer Institute Resources 

June 23-24, 2014

Click here to download a fictional data set for use during the session.

Click here to download the second fictional data set for use during the session.

Click here to download the .Rnw file for use during the session.

 

Violin Plot

ReadPlot3 <- ggplot(na.omit(df),
aes(x=Grade, y=ROverallRawLevel_Dot)) +
geom_violin(adjust=2)+
geom_boxplot(width=.1, fill=”black”, outlier.colour=NA) +
#facet_grid(~IEPCat)+
stat_summary(fun.y=median,
geom=”point”,
fill=”white”,
shape=21,
size=2.5) +
xlab(“Dot Scores”) +
ylab(“Dot Scores”) +
ggtitle(“Grade 3 Dot Score Achievement Distribution \n Reading”)+
theme(plot.title=element_text(lineheight=2))

ReadPlot3 + geom_hline(yintercept=3, col=”darkgreen”)

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s