Skip to main content
Skip table of contents

setScenario

Clear the current scenario and build a new one from a given list of tasks.

Usage

R
setScenario(...)

Arguments

...

A list of tasks as previously defined

Details

A scenario is a list of tasks to be run by runScenario. Setting the scenario is equivalent to selecting tasks in Monolix, PKanalix or Simulx GUI that will be performed when clicking on RUN.

For Monolix, setScenario requires a given list of tasks, the linearization option and the list of plots.
Every task in the list should be associated to a logical
NOTE: by default the logical is FALSE, thus, the user can only state what will run during the scenario.
NOTE: Within a MONOLIX scenario, the order according to which the different algorithms are run is fixed:

AlgorithmAlgorithm Keyword
Population Parameter Estimation"populationParameterEstimation"
Conditional Mode Estimation (EBEs)"conditionalModeEstimation"
Sampling from the Conditional Distribution"conditionalDistributionSampling"
Standard Error and Fisher Information Matrix Estimation"standardErrorEstimation"
LogLikelihood Estimation"logLikelihoodEstimation"
Plots"plots"

For PKanalix, setScenario requires a given list of tasks. Every task in the list should be associated to a logical
NOTE: By default the logical is FALSE, thus, the user can only state what will run during the scenario.
NOTE: Within a PKanalix scenario, the order according to which the different algorithms are run is fixed:

AlgorithmAlgorithm keyword
Non Compartmental Analysis"nca"
Bioequivalence estimation"be"

For Simulx, setScenario requires a given list of tasks. Every task in the list should be associated to a logical
NOTE: By default the logical is FALSE, thus, the user can only state what will run during the scenario.
NOTE: Within a Simulx scenario, the order according to which the different algorithms are run is fixed:

AlgorithmAlgorithm keyword
Simulation"simulation"
Outcomes and endpoints"endpoints"

Note: every task can also be run separately with a specific function, such as runSimulation in Simulx, runEstimation in Monolix. The CA task in PKanalix cannot be part of a scenario, it must be run with runCAEstimation.

See also

Examples

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.