#' 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')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.