Skip to content

Instantly share code, notes, and snippets.

Last active December 11, 2015 08:39
What would you like to do?
Plot with missing values
miss <- ![country=="UK")
plot(which(miss),[country=="UK" & miss], col="red", type="b", lwd=2, axes=FALSE, xlim=c(1,16))
axis(1,at=c(1,6,11,16), labels=c("1995","2000","2005","2010"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment