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")
}
jndaniel12/MATH4753DANIEL documentation built on April 25, 2021, 1:47 a.m.