R/describe_axis.R

#' Change axis labels in a given plot.
#' 
#' @param x_axis The text for the x-axis.
#' @param y_axis The text for the y-axis.
#' @param plot Name of plot you want to implement changes.


describe_axis <- function(x_axis, y_axis, plot){
  y <- y_axis
  x <- x_axis
  plot +
    xlab(x)+
    ylab(y)
}
AMUFacultyOfEnglish/PERUanalytics documentation built on May 5, 2019, 11:36 a.m.