setIndividualParameterDistribution
[Monolix] Set individual parameter distribution
Set the distribution of the estimated parameters.
Available distributions are "normal", "logNormal" and "logitNormal".
Call getIndividualParameterModel
to get a list of the available individual parameters within the current project.
Usage
setIndividualParameterDistribution(...)
Arguments
- ...
A list of comma-separated pairs (character) {parameterName = "distribution"} (see example).
See also
getIndividualParameterModel
to see the current individual parameter model settings setIndividualParameterModel
to change the individual parameter model
The components of the individual parameter model can be updated individually: setIndividualLogitLimits
to update just the limits for parameters with a logit distribution setIndividualParameterVariability
to update just the individual parameter variability setCovariateModel
to update just the covariate model setCorrelationBlocks
to update just the correlation structure
Examples
initializeLixoftConnectors("monolix")
project_file <- file.path(getDemoPath(), "5.models_for_individual_parameters", "5.1.probability_distribution", "warfarin_distribution3_project.mlxtran")
loadProject(project_file)
setIndividualParameterDistribution(V = "normal")
setIndividualParameterDistribution(Cl = "normal", V = "logNormal")
getIndividualParameterModel()$distribution
#> Tlag ka V Cl
#> "logNormal" "logNormal" "logNormal" "normal"