
S4 object of class Characteristic
Characteristic-class.RdS4 object of class Characteristic
Slots
floodcharacter, name of the different flood events considered..
scenariocharacter, name of the different scenarios considered.
statecharacter, name of the different states considered.
stake_damcharacter, name of the different stakes considered for damage estimation.
stake_comcharacter, name of the different stakes considered for complement estimation.
stake_evocharacter, name of the different stakes considered for evolution estimation.
Author
Frédéric Grelot, frederic.grelot.1994_cran@m4x.org
Examples
Characteristic()
#> Warning: Some mandatory stake_dam are missing (activity, agriculture, dwelling, public). They are added.
#> Warning: Some mandatory stake_com are missing (inhabitant, employee). They are added.
#> Warning: Some relevant stake_evo are missing (rural, urban) to be consistent with stake_dam and stake_com. They are added.
#> An object of class "Characteristic"
#> @flood - 0 modalities:
#> ""
#> @scenario - 0 modalities:
#> ""
#> @state - 0 modalities:
#> ""
#> @stake_dam - 4 modalities:
#> "activity" "agriculture" "dwelling" "public"
#> @stake_com - 2 modalities:
#> "inhabitant" "employee"
#> @stake_evo - 2 modalities:
#> "rural" "urban"
if (FALSE) Characteristic(correction = FALSE) # \dontrun{}
Characteristic(state = 1:2)
#> Warning: Some mandatory stake_dam are missing (activity, agriculture, dwelling, public). They are added.
#> Warning: Some mandatory stake_com are missing (inhabitant, employee). They are added.
#> Warning: Some relevant stake_evo are missing (rural, urban) to be consistent with stake_dam and stake_com. They are added.
#> An object of class "Characteristic"
#> @flood - 0 modalities:
#> ""
#> @scenario - 0 modalities:
#> ""
#> @state - 2 modalities:
#> "1" "2"
#> @stake_dam - 4 modalities:
#> "activity" "agriculture" "dwelling" "public"
#> @stake_com - 2 modalities:
#> "inhabitant" "employee"
#> @stake_evo - 2 modalities:
#> "rural" "urban"
char_01 = Characteristic(
flood = c("flood_min", "flood_med", "flood_max"),
scenario = c("normal"),
state = 1:2,
stake_dam = c("dwelling", "activity", "agriculture", "public"),
stake_com = c("inhabitant", "employee")
)
#> Warning: Some relevant stake_evo are missing (rural, urban) to be consistent with stake_dam and stake_com. They are added.