neolabsup: Neoclassical labor supply

Description Usage Arguments

View source: R/neolabsup.R

Description

Function to create a charts for neoclassical labor supply curves

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
neolabsup(
  ...,
  ncurves = 1,
  x,
  curve_names = TRUE,
  names,
  linecol,
  labels,
  generic = TRUE,
  geom = "text",
  geomcol = 1,
  geomfill = "white",
  main = NULL,
  sub = NULL,
  xlab = NULL,
  ylab = NULL,
  bg.col = "white"
)

Arguments

...

Custom curve.

ncurves

Number of curves to be created.

x

Y-axis values where to create intersections with the demand curves.

curve_names

Boolean. If TRUE, the function adds default names to each.

names

If curve_names = TRUE are custom names for the curves.

linecol

Line color of the curves.

labels

If x is specified are the labels for the intersection points.

generic

Boolean. If TRUE and x is specified, the axis labels shows generic names. If FALSE, the axis labels are the actual data of the axis that corresponds to the intersection points.

geom

Possible values are "text" to display the labels of the intersection points with text and "label" to show them with labels.

geomcol

Color of the labels of the intersection points.

geomfill

If geom = "label" is the background color of the label.

main

Main title of the plot.

sub

Subtitle of the plot.

xlab

Name of the X-axis.

ylab

Name of the Y-axis.

bg.col

Background color of the plot.


R-CoderDotCom/econocharts documentation built on Oct. 16, 2021, 12:42 p.m.