R/data_plot.R

#' Data Plot
#'
#' This function produces a graph of a vector against the index 1:n, where n is the length of the vector.
#'
#' @param x Numeric vector of values
#'
#' @return
#' @export
#'
#' @examples
#' x <- 1:10
#' data_plot(x)
data_plot <- function(x){

  check_numeric_vector(x)

  plot(x, col = 'blue')

}
AshleyDennisHenderson/data.summary documentation built on June 12, 2019, 11:25 a.m.