R/myplot.R

Defines functions myplot

Documented in myplot

#' @title A function for plotting a quadratic
#'
#' @param x The diameter
#'
#' @return Response ie estimated Height
#' @export
#'
#' @examples
#' \dontrun{quad.lm <- lm(y~x,data=df);myplot(x=15)}
myplot = function(x) {
  quad.lm$coef[1] + quad.lm$coef[2]*x + quad.lm$coef[3]*x^2
}
benjamin-roper/MATH4753rope0007 documentation built on Nov. 14, 2020, 12:50 p.m.