Skip to main content
Skip table of contents

Load and run a Monolix project

Simple example to load an existing project, run SAEM and print the number of iterations used in the exploratory and smoothing phases:

R
# load and initialize the API
library(lixoftConnectors) 
initializeLixoftConnectors(software="monolix")

project <- paste0(getDemoPath(), "/1.creating_and_using_models/1.1.libraries_of_models/theophylline_project.mlxtran")
loadProject(projectFile = project)

runPopulationParameterEstimation()
iter <- getSAEMiterations()
print(paste0("Iterations in exploratory phase: ",iter$iterationNumbers[1]))
print(paste0("Iterations in smoothing phase: ",iter$iterationNumbers[2]))
JavaScript errors detected

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

If this problem persists, please contact our support.