R/myf.R

Defines functions myf

Documented in myf

#' Title
#'Make a list of sqares and cubes
#'Intro to package making stuff
#' @param x
#'
#' @return a list of vector
#' @export
#'
#' @examples
#' x = 1:4; myf(x)
myf = function(x){
  obj1 = x^2
  obj2 = x^3
  combined = list(obj1, obj2)
  print(combined)
}
fraclad/math4753 documentation built on April 21, 2020, 2:21 p.m.