Description of the functions of the API
getAddLines | Get the lines that were added to a model. |
importMonolixProject | Import all the elements coming from a Monolix project. |
setAddLines | Lines that can be added to the model file. |
[Simulx] Get lines added to the model
Description
Get the lines that were added to a model.
Usage
getAddLines()
See Also
Click here to see examples
## Not run:
getAddLines()
=> “ddt_AUC = Cc”
## End(Not run)
Top of the page, PKanalix R-functions, Monolix R-functions, Simulx R-functions.
[Simulx] Import project from Monolix
Description
Import all the elements coming from a Monolix project. It imports
– the model file,
– the population parameters (if estimated, else wise an element is created with all values at 1),
– the individual parameters (if estimated, else wise an element is created with all values at 1),
– the outputs as an external element,
– the treatments (if any) as an external element,
– the regressors (if any) as an external element,
– the occasion structure (if any) as an external element.
Usage
importMonolixProject(projectFile)
Arguments
projectFile
(string) Path to the project file. Can be absolute or relative to the current working directory.
Details
WARNING: R is sensitive between ‘\’ and ‘/’, only ‘/’ can be used.
Click here to see examples
## Not run:
importfrommonolix(“/path/to/project/file.mlxtran”) for Linux platform
importfrommonolix(“C:/Users/path/to/project/file.mlxtran”) for Windows platform
## End(Not run)
Top of the page, PKanalix R-functions, Monolix R-functions, Simulx R-functions.
[Simulx] Add lines to the model
Description
Lines that can be added to the model file. The goal is to complete/add new element in the model without rewriting it from scratch.
Notice that all the variable defined in the add lines will be available as an output.
Usage
setAddLines(lines)
Arguments
lines
(string) Additional lines to define.
See Also
Click here to see examples
## Not run:
setAddLines(“ddt_AUC = Cc”)
setAddLines(c(“if t>24”, “ddt_AUC = Cc”, “end”))
## End(Not run)
Top of the page, PKanalix R-functions, Monolix R-functions, Simulx R-functions.