R/graph.R

#' make a graph
#'
#' @param df x
#' @param y A number
#' @return a bar graph
#' @examples
#'    product(7,8)
#' @export
#'
exa <- function(df){
  library(tidyverse)
  library(viridis)

  ggplot(df,aes(x=Name, y=age))+
    geom_col()+
    scale_color_viridis()
}
MingshuangLi/package_try documentation built on May 24, 2019, 4:06 p.m.