R/plot_over_time.R

#' Plot of messages over time
#'
#' Plots the distribution of messages over time.
#'
#' @param raw_datetime: A list of datetime objects of messages.
#'
#' @export
plot_over_time <- function(raw_datetime){
  ggplot(tibble(raw_datetime), aes(x= raw_datetime)) +
    geom_histogram() +
    xlab("Year")
}
tobinsouth/FacebookMessageTimes documentation built on June 22, 2019, 12:46 a.m.