R/plot2.R

Defines functions plot2

Documented in plot2

#'A bar chart
#'The function creates a bar chart rapresenting the mother'sweight in pounds at last menstrual period
#'
#' @return
#' @export
plot2 <- function(){
 birthwt <- MASS::birthwt
 p <- ggplot2::qplot(x = lwt, data = birthwt, geom = "bar")
  return(p)
}
unimi-dse/19c75e7b documentation built on March 18, 2020, 6:24 p.m.