powered by
API: create a new variant for a given study or use a pre-existing one.
createVariant(name, opts = antaresRead::simOptions())useVariant(name, variant_id = NULL, opts = antaresRead::simOptions())
useVariant(name, variant_id = NULL, opts = antaresRead::simOptions())
An updated list containing various information about the simulation.
Name for the variant to create or the name of an existent variant.
List of simulation parameters returned by the function antaresRead::setSimulationPath()
antaresRead::setSimulationPath()
ID of the variant to use, if specified name is ignored.
name
if (FALSE) { # See vignette for complete documentation vignette("api-variant-management") }
Run the code above in your browser using DataLab