String. Indicates which estimated values to plot: discount function, yield curve, or
both. Default is both.
against
String. Indicates which variable to plot against, i.e. what is on the x axis.
Time-to-maturity tau, quotation date x, or both (requires package
plotly). If both, an interactive 3D plot is generated.
loess
Logical. If TRUE, the returned discount functions and yield curves
are loess smoothed.
...
Additional arguments required for generic consistency. Currently
not used. Warning: A misspelled argument will not raise an error. The
misspelled argument will be either disregarded, or the default value will
be applied if one exists.
# Simulating bond databonds <- ycevo_data(n = 10)
# \donttest{# Estimation can take up to 30 secondsres <- ycevo(bonds, x = lubridate::ymd("2023-03-01"))
# Plotautoplot(res)
# }