Creates production–possibility frontiers. The function allows specifying custom frontiers, modifying the type of the curves (concave or linear), creating intersections along the values of the Y-axis and the curve and customizing the final output with further arguments.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
... |
Specify the production–possibility frontiers separated by comma (as |
xmax |
Numeric. Allows modifying the maximum X value for the default production–possibility frontier. |
ymax |
Numeric. Allows modifying the maximum Y value for the default production–possibility frontier. |
type |
Possible values are |
x |
Y-axis values where to create intersections with the production–possibility frontier |
linecol |
Line color of the curves. |
labels |
If |
generic |
Boolean. If |
geom |
Possible values are |
geomcol |
Color of the labels of the intersection points. |
geomfill |
If |
main |
Main title of the plot. |
sub |
Subtitle of the plot. |
xlab |
Name of the X-axis. |
ylab |
Name of the Y-axis. |
acol |
Color of the area of the below the production–possibility frontier |
alpha |
Transparency of the colored area |
bg.col |
Background color of the plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.