Learn R Programming

BALD (version 1.0.0-3)

numberOfKnots,BreakAnnualAggLossDevModelOutput-method: A method to plot and/or return the posterior number of knots.

Description

A method to plot and/or return the posterior number of knots.

Arguments

object

The object from which to plot the number of knots.

plot

A logical value. If TRUE, the plot is generated and the statistics are returned; otherwise only the statistics are returned.

Value

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.

Details

The break model has to consumption paths. This method will plot the number of knots for each path.

See Also

consumptionPath numberOfKnots numberOfKnots("StandardAnnualAggLossDevModelOutput")