Characteristic-class.RdS4 object of class Characteristic
logical, should correction be made at initialization.
Object of class Characteristic.
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.
Characteristic()
#> Warning: Some mandatory stake_dam are missing (activity, agriculture, dwelling, public). They are added.
#> Warning: Some mandatory stake_com are missing (inhabitant, employee, household, enterprise). 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 - 4 modalities:
#> "inhabitant" "employee" "household" "enterprise"
if (FALSE) Characteristic(correction = FALSE)
Characteristic(state = c(1, 1))
#> Warning: Some mandatory stake_dam are missing (activity, agriculture, dwelling, public). They are added.
#> Warning: Some mandatory stake_com are missing (inhabitant, employee, household, enterprise). They are added.
#> Warning: state had duplicated vales (1)
#> An object of class "Characteristic"
#> @flood - 0 modalities:
#> ""
#> @scenario - 0 modalities:
#> ""
#> @state - 1 modality:
#> "1"
#> @stake_dam - 4 modalities:
#> "activity" "agriculture" "dwelling" "public"
#> @stake_com - 4 modalities:
#> "inhabitant" "employee" "household" "enterprise"
char_01 = Characteristic(
flood = c("flood.min", "flood.A", "flood.B", "flood.C", "flood.max"),
scenario = c("normal"),
state = 1:2,
stake_dam = c("dwelling", "activity", "agriculture", "public")
)
#> Warning: Some mandatory stake_com are missing (inhabitant, employee, household, enterprise). They are added.