R/plot_iris.R

Defines functions plot_iris

Documented in plot_iris

#' Plot iris data

#' @param x column that you want to plot
#' @param color color of the bars
#'
#' @return data visualization



plot_iris <- function(dt, color){
  ggplot(dt, aes(x=Sepal.Width, fill=color)) +
    geom_bar()




}
juliafum/testPackage documentation built on June 22, 2020, 12:07 a.m.