powered by
A simple quadratic function of the form $$ax^2+bx+c$$
quadraticFun(x, a, b, c)
a numeric value or vector resulting from the function
a numeric value or vector
Boris Leroy leroy.boris@gmail.com
Maintainer: Boris Leroy leroy.boris@gmail.com
linearFun, quadraticFun
linearFun
quadraticFun
x <- 1:100 y <- quadraticFun(x, a = 2, b = 2, c = 3) plot(y ~ x, type = "l")
Run the code above in your browser using DataLab