lixoftconnectors code example

Example 1: lixoftconnectors

demoPath = '<userFolder>/lixoft/monolix/monolix2019R1/demos/1.creating_and_using_models/'
loadProject(paste0(demoPath ,'1.1.libraries_of_models/theophylline_project.mlxtran'))
runScenario()
getEstimatedPopulationParameters()

Example 2: lixoftconnectors

library(lixoftConnectors)
initializeLixoftConnectors(software = "monolix")

Example 3: lixoftconnectors

install.packages(packagePath, repos = NULL, type="source", INSTALL_opts ="--no-multiarch")

Example 4: lixoftConnectors tar gz

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

demoPath = 'C:/Users/username/lixoft/monolix/monolix2019R1/demos/1.creating_and_using_models/1.1.libraries_of_models/'
project <- paste0(demoPath, "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]))

Tags:

Misc Example