A method to plot and/or return the posterior number of knots.
The object from which to plot the number of knots.
A logical value. If TRUE
, the plot is generated and the statistics are returned; otherwise only the statistics are returned.
Mainly called for the side effect of plotting. Also returns a list of length 2 with each element containing a named vector with names equal to the number of knots and values equal to the density. Returned invisibly.
The break model has to consumption paths. This method will plot the number of knots for each path.
consumptionPath
numberOfKnots
numberOfKnots("StandardAnnualAggLossDevModelOutput")