R/onedfunction.R

Defines functions onedfunction

Documented in onedfunction

#' x^4 + x^2
#' 
#' @description
#' function to generate x^4 + x^2
#' 
#' @param x vector of values
#' 
#' @examples
#' onedfunction(1)
#' 
#' @author Ernest Chan \email{faiernest418@@gmail.com}
#' 
#' @export

onedfunction = function(x)
{
  y = x^4 + x^2
  
  y
}
JackStat/CompPack documentation built on May 7, 2019, 10:16 a.m.