extract_value.Rd
Extract some values information of a model
extract_value(
model,
room = NULL,
furniture = NULL,
category = NULL,
model_name = NULL,
verbose = getOption("floodam_building_verbose")
)
an object of class model
a data.frame describing room of a model, set to model[["data_table"]][["room"]] if model is provided.
a data.frame describing furniture of a model, set to model[["data_table"]][["furniture"]] if model is provided.
a character vector describing category of a model, set to model[["category"]] if model is provided.
a character scalar giving names of a model, set to model[["name"]] if model is provided.
logical, default to getOption("floodam_building_verbose")
An list of value organized as follow
a data.frame with 'internal' and 'external' surfaces. Surfaces are estimated at storey level, maximum is taken.
a data frame with the estimation of total monetary value replacement for elementary components classified according to the 'category' of the model
if (FALSE) {
model = analyse_model(
model = "simple",
path = init_create_path(
input = system.file("extdata", package = "floodam.building"),
output = file.path(tempdir(), "test")
),
stage = c("load", "extract")
)
extract_value(model)
}