setGroupSize
[Simulx] Set simulation group size
Define the size of a simulation group.
Usage
setGroupSize(group, size)
Arguments
- group
(character) Name of the group where the size will be changed.
- size
(integer) Size of the new group.
Details
Group size is the number of individuals (ie sets of individual parameters and covariate values) that will be sampled by Simulx for a given group.
It should not be mixed up with the number of replicates that can be set with setNbReplicates
.
To get the size of a group, please use getGroups
.
All options of the Simulx scenario are the same as in Simulx GUI. Check the online doc of Simulx to get more guidance on how to use them.
See also
Examples
initializeLixoftConnectors("simulx")
project_name <- file.path(getDemoPath(), "1.overview", "importFromMonolix_clinicalTrial.smlx")
loadProject(project_name)
setGroupSize("gr_BID_N30", 40)
setGroupSize("gr_OD_N30", 40)