Skip to contents

Update the configuration with max frequency to be simulated according to path ID

Usage

update_frequency(scenario)

Arguments

scenario

dataframe scenario obtained with function create_scenario

Value

scenario_updated list configuration updated with the min and max volumes to be simulated

Examples

scenario_example <- create_scenario(
  system.file("input_1culture_2pop.xlsx", package = "ambre")
)
updated_scenario <- update_frequency(scenario_example)
updated_scenario$config[[1]]$exposure
#> # A tibble: 3 × 10
#>   name                 type    value   min   max mode  mean  sd    meanlog sdlog
#>   <chr>                <chr>   <dbl> <dbl> <dbl> <lgl> <lgl> <lgl> <lgl>   <lgl>
#> 1 number_of_repeatings value    1000  NA      NA NA    NA    NA    NA      NA   
#> 2 number_of_exposures  value      60  NA      NA NA    NA    NA    NA      NA   
#> 3 volume_perEvent      triang…    NA   0.5     3 NA    NA    NA    NA      NA