getSharedIds
[Simulx] Get element types sharing individuals
Get the element types that will share the same individuals in the simulation.
Usage
getSharedIds()
Details
If several elements are defined with tables of individual values and set to some simulation groups, the option "shared ids" allows to create an intersection of ids present in these tables. After that, ids from this intersection are sampled to create the data for simulation.
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(), "5.simulation", "sharedIds.smlx")
loadProject(project_name)
getSharedIds()
#> [1] "covariate" "treatment"