View source: R/exported_functions.R
get_f_exp_from_points | R Documentation |
get_f_exp_from_points()
returns a function that can be used to generate any points on a given line according to the specified exponential.
get_f_exp_from_points(a, b, power = 3)
a |
a vector containing two (and only two) points corresponding to x and y. |
b |
a vector containing two (and only two) points corresponding to x and y. |
power |
the desired exponential |
a function that returns $y$ for any $x$ on the line.
get_f_exp_from_points(c(0, 0), c(1, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.