analyse_model.Rd
Analyse a model.
analyse_model(
model,
type = "",
stage = "",
hazard_range = getOption("floodam_building_hazard_range"),
path = getOption("floodam_building_path"),
file_name = getOption("floodam_building_file_name"),
type_building = getOption("floodam_building_type_building"),
version_building = NULL,
verbose = getOption("floodam_building_verbose"),
dam_by_room = FALSE
)
either a character, name given to the model or an object of class model
character, type of model that is loaded, default to ""
character, what are the stages that should be done, default to nothing.
if damaging are calculated, gives the range for hazard, default to getOption("floodam_building_hazard_range")
list of useful paths, default to getOption("floodam_building_path")
list of useful file names, default to getOption("floodam_building_file_name")
character, type of building file (building or yaml)
character, version of building model to be used
boolean, will floodam tells what it is doing, default to getOption("floodam_building_verbose")
logical. Should the damage functions be computed by room? Default to FALSE
an object of class model
if (FALSE) {
load_model("test", "dwelling")
}