setGroupComparisonSettings
[Simulx] Set group comparison settings
Set settings related to the comparison of endpoints across groups.
Usage
setGroupComparisonSettings(referenceGroup = NULL, enable = TRUE)
Arguments
- referenceGroup
(character) (optional) Group to use as reference.
- enable
(logical) (optional) Enable group comparison, TRUE by default.
Details
Endpoints summarize the outcome values over all individuals, for each simulation group and each replicate. Endpoints are defined with defineEndpoint and can be compared across groups as in Simulx GUI
.
setGroupComparisonSettings enables to specify if endpoints should be compared across simulation groups and which group to use as a reference. Group comparison is performed during the Endpoints task.
See also
Examples
initializeLixoftConnectors("simulx")
project_name <- file.path(getDemoPath(), "6.outcome_endpoints", "6.2.group_comparison", "groupComp_PKPD_medianInhibition_percentEfficacy.smlx")
loadProject(project_name)
# Change the reference group
setGroupComparisonSettings(referenceGroup = "OD_300mgPerDay_", enable = TRUE)
# Turn off group comparison
setGroupComparisonSettings(enable = FALSE)