Skip to main content
Skip table of contents

getSharedIds

Get the element types that will share the same individuals in the simulation.

Usage

R
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

R
  initializeLixoftConnectors("simulx")
  project_name <- file.path(getDemoPath(), "5.simulation", "sharedIds.smlx")
  loadProject(project_name)
  getSharedIds()
#> [1] "covariate" "treatment"
JavaScript errors detected

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

If this problem persists, please contact our support.