Skip to main content
Skip table of contents

setObservationLimits

Set the minimum and the maximum values between which observations must fall. Used only if the distribution of the error model is "logitNormal". To set the observation distribution to "logitNormal", use setObservationDistribution. Call getObservationInformation to get the observation model names present in the current project. Only specified observations will be changed.

Usage

R
setObservationLimits(...)

Arguments

...

A list of comma-separated pairs {observationModel = c((double) min, (double) max) }

See also

getContinuousObservationModel get the current observation model for the current project
getObservationInformation to get the continuous observations present in the current project

Set components of the continuous observation model:
setObservationDistribution
setErrorModel

Examples

R
initializeLixoftConnectors("monolix")
project <- file.path(getDemoPath(), "1.creating_and_using_models",  "1.1.libraries_of_models", "warfarinPKPD_project.mlxtran")
loadProject(project)

# get observation model names available in the current project
getObservationInformation()$name
#> [1] "y1" "y2"

# set the distribution to logitNormaland then set the limits
setObservationDistribution(y2 = "logitNormal")
setObservationLimits(y2 = c(0, 100))
getContinuousObservationModel()$limits
#> $y2
#> [1]   0 100
#> 

JavaScript errors detected

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

If this problem persists, please contact our support.