R/myplot.R

Defines functions myplot

Documented in myplot

#' @title An introductory plot
#'
#' @param x A quantitative vector
#'
#' @return A plot
#' @export
#'
#' @examples
#' \dontrun{d <- 1:40; myplot(x=d)}
myplot=function(x){
  y <- 0.86089580 + 1.46959217*x - 0.02745726*x^2
  plot(y~x, col="Blue", lwd=2, type="l", main = "Small plot")
}
Jacob-R-Davis/MATH4753.Davis documentation built on April 24, 2021, 7:46 a.m.