Skip to contents

group elementary damages by room.

Usage

distrib_by_room(x, rooms)

Arguments

x,

a list

rooms

character vector with the rooms in the dwelling

Value

a list

Details

This function is not meant to be used independently but called during the calculation of damage functions. The example shows how to use the function in such context

Examples

if (FALSE) { # \dontrun{
 x = result[["detail"]]
 rooms = levels(data_table[["room"]][["room"]])
 test = distrib_by_room(x, rooms) 
} # }