A basic linear function of the form f(t) = m * t + b
, where m
is the slope and b
is the intercept.
Arguments
- t
A numeric vector of input values (e.g., time).
- m
The slope of the line.
- b
The intercept (function value when t = 0
).
Value
A numeric vector of the same length as t
, giving the linear function values.