R/pow.R

Defines functions pow

#pow <- function(x, a=2) x^a

pow <- function(x, a, plot_it) {
  res <- x^a
  if (plot_it) print(ggplot2::qplot(x, res))
  return(res)
}
bcahn7/STAT547M-hw09-An-Byeongchan documentation built on May 20, 2019, 5:46 p.m.