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 named vector with names equal to the number of knots and values equal to the density. Returned invisibly.
consumptionPath
numberOfKnots
numberOfKnots("BreakAnnualAggLossDevModelOutput")