View source: R/common_mathematical_functions.R
linear | R Documentation |
This function evaluates a linear function.
linear(x, a, b)
x |
A numeric vector which defines the values at which the linear function will be evaluated. |
a |
A numeric input which defines the intercept. |
b |
A numeric input which defines the gradient. |
A number or a numeric vector.
Edward Lavender
linear(1:10, 5, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.