View source: R/exported_functions.R
get_slope | R Documentation |
Simple helper function to compute slope between two cartesian points
get_slope(a, b)
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. |
slope value
get_slope(c(0, 0), c(1, 3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.