Description Usage Arguments Value Author(s) Examples
For a function defined by points and then interpolated as constant or linear function get a value for specific x. Function points should be provided in data frame with 2 columns: x and y values.
1 |
df |
Data frame with two columns, first column representing x values and second y values. |
x_value |
Value for which we want to calculate this function. |
method |
('constant', 'linear') Should function be step function (constant between points), or interpolated linearly. |
Value at x_value point.
Elio Bartoš
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.