Heat maps are great to compare observations with lots of variables (which must be comparable in terms of unit, domain, … Read More →

RcmdrPlugin.KMggplot2 v0.2-4 (an Rcmdr plug-in; a GUI for 'ggplot2') was released on Dec. 20, 2016. RcmdrPlugin.KMggplot2 (CRAN) NEWS Changes in version 0.2-4 (2016-12-20) ggplot2 2.2.0 was supported. Added ggplot2's colour/fill scales (scale_hue, scale_grey). New plot: Beeswarm plot in Box plot (Th…

Guest post by Jonathan Sidi, Metrum Research Group Last week the updated version of ggedit was presented in RStudio::conf2017. First, a BIG thank you to the whole RStudio team for a great conference and being so awesome to answer the insane amount of questions I had (sorry!). For a quick intro to the package see … Continue...

This is my first post ever… and in 2017! Since I am currently fun-employed, my hope is to upload some interesting material on using R on a weekly basis. Making this an informative and motivational blog to share my interests and mini-projects in R. Now on to this post’s material… Last year in my infectious disease epidemiology course, … Continue...

# create data x <- c(8,7,6,7,6,5,6,5,4,5,4,3,4,3,2,3,2,1,0.5,0.1) dat1 <- data.frame(x1 = 1:length(x), x2 = x) dat2 <- data.frame(x1 = 1:length(x), x2 = -x) dat1$xvar <- dat2$xvar <- NA dat1$yvar <- dat2$yvar <- NA dat1$siz <- dat2$siz <- NA dat1$col <- dat2$col dec_threshold){ dat1$xvar <- row #sample(1:dat1$x1,1) dat1$yvar <- sample(1:dat1$x2-1,1) dat1$siz <- runif(1,0.5,1.5) dat1$col dec_threshold){ dat2$xvar <-

This note explains to compile Hadley Wickham’s ggplot2 book on Mac OS. This guide has 8 steps. If you have already installed R and RStudio, you should be able to get through Steps 1-4 very quickly. Similarly, if you use Git, Steps 5-6 should also be very straightforward. The longest steps are Step 7 (package dependencies) and Step 8 (book compilation). 1....

e-mails with the latest R posts.

(You will not see this message again.)