Summarize detailed list of elementary damaging functions.

sumup_damaging(x, who = NULL)

Arguments

x,

object of class elementary_damaging or a list

who,

NULL or character to trace the name of the calling function if an error occurs

Value

an object of class "damaging"

Examples

if (FALSE) {
model = analyse_model("test-1", "test", display = TRUE)
damage = sumup_damaging(model[["damaging"]][["detail"]])
}