Makes a distribution belonging to the degenerate family of distributions. That is, distributions of fixed values.

dst_degenerate(location)

is_degenerate(object)

is.degenerate(object)

Arguments

location

Parameter of the distribution family.

object

Object to test

Value

Object of class "dst".

Examples

require(graphics)
d <- dst_degenerate(5)
plot(d, "quantile")