This is a quick document aimed at highlighting the basics of what you might want to do using MongoDB and R. I am coming at this, almost completely, from a SQL mindset.
The easiest way to install, I believe, is
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
| library(ggplot2) | |
| sparkLinePlot <- function(df, plot.file) { | |
| highest <- subset(df, outcomes == max(outcomes)) | |
| lowest <- subset(df, outcomes == min(outcomes)) | |
| p <- ggplot(df, aes(x=date, y=outcomes)) + | |
| geom_line() + | |
| opts(panel.border = theme_rect(linetype = 0), |