Description Usage Arguments Value Examples
plot.budget
plots a budget object.
1 2 |
x |
A budget. |
... |
Other arguments to pass to plot(). |
The output of plot.budget
is a plot of a budget.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # Create a paycheck item
paycheck <- create_item( name = "Paycheck"
, amount = 1000
, day = "2016-01-01"
, recurring = "monthly"
)
# Create a rent item
rent <- create_item( name = "Rent"
, amount = -500
, day = "2016-01-05"
, recurring = "monthly"
)
# Create a schedule
my_schedule <- create_schedule(paycheck, rent)
# Create a budget
my_budget <- create_budget(my_schedule, start="2016-01-01", initial=1000)
# Plot
plot(my_budget)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.