Learn R Programming

BALD (version 1.0.0-3)

numberOfKnots,StandardAnnualAggLossDevModelOutput-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 named vector with names equal to the number of knots and values equal to the density. Returned invisibly.

See Also

consumptionPath numberOfKnots numberOfKnots("BreakAnnualAggLossDevModelOutput")