Description Usage Arguments Details Value
Given a dataframe with two curves (first the x) and then the output of functions, it approximates the intersection between the functions.
1 |
df |
A matrix with the curves approximated numerically. |
This function was taken directly from https://www.andrewheiss.com/blog/2017/09/15/create-supply-and-demand-economics-curves-with-ggplot2/
A tibble with the point of intersection between the curves.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.