Generates a line plot with a shaded area representing wealth growth over time.
Usage
plot_wealth(data, title = "Wealth Projection")
Arguments
- data
Numeric vector. The series of monthly balances (usually from calc_wealth).
- title
String. The main title of the plot.
Value
A plot object (base R graphics).