View source: R/sp.env.functions.R
linearFun | R Documentation |
A simple linear function of the form
ax+b
linearFun(x, a, b)
x |
a numeric value or vector |
a |
a numeric value or vector |
b |
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
logisticFun
, quadraticFun
x <- 1:100
y <- linearFun(x, a = 0.5, b = 0)
plot(y ~ x, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.