Skip to main content
Skip table of contents

getOutputElements

Get the list of all available output elements for simulation.

Usage

R
getOutputElements()

Details

Output elements can be defined with defineOutputElement, or created by importing a Monolix or a PKanalix project. Elements defined are created in the background and saved with the Simulx project if calling saveProject. They can be deleted with deleteElement.

Each element is a list of

"output"(character)Output name.
"inputType"(character)Type of input definition: can be "manual" or "external".
"file"(list)if the inputType is external, list with path to the file and sheet in the excel (if relevant) . NULL else wise.
"data"(data.frame)Values of the element.

Importantly, all the variables in the model file can be used as an output. The user is not constrained to the ones defined in the OUTPUT section of the model.

If the project was created from a model file, an output element is created for each output of the section OUTPUT of the model, with regular grid from 0 to 100 by steps of 1.

If the project was created by importing a Monolix project, with for example Cc as a prediction and y as measurement,

  • an output element mlx_y1 is created as an external file with the times of the output for each id in the original dataset of the Monolix project.

  • an output element mlx_Cc is created with a regular grid starting from the first time to the final time measured in the original dataset.

If the project was created by importing a PKanalix project, with for example Cc as a prediction, #'

  • an output element pkx_Cc_OriginalTimes is created as an external file with the times of the output for each id in the original dataset of the Monolix project.

  • an output element pkx_Cc_FineGrid is created with a regular grid starting from the first time to the final time measured in the original dataset.

Examples

JavaScript errors detected

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

If this problem persists, please contact our support.