View source: R/sp.env.functions.R
quadraticFun | R Documentation |
A simple quadratic function of the form
ax^2+bx+c
quadraticFun(x, a, b, c)
x |
a numeric value or vector |
a |
a numeric value or vector |
b |
a numeric value or vector |
c |
a numeric value or vector |
a numeric value or vector resulting from the function
Boris Leroy leroy.boris@gmail.com
Maintainer: Boris Leroy leroy.boris@gmail.com
linearFun
, quadraticFun
x <- 1:100
y <- quadraticFun(x, a = 2, b = 2, c = 3)
plot(y ~ x, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.