Skip to main content
Skip table of contents

deleteElement

Delete an element of any type.

Usage

R
deleteElement(name)

Arguments

name

(character) Element name.

Details

Elements defined are created in the background and saved with the Simulx project if calling saveProject.

To check which elements of a certain type have been defined so far, please use one of the "get..Elements" connectors: getCovariateElements, getPopulationElements, getIndividualElements, getTreatmentElements, getOccasionElements, getRegressorElements.

Elements cannot be deleted if they are used for the simulation. To remove an element from the simulation, use removeGroupElement.

Examples

R
  initializeLixoftConnectors("simulx")
  project_name <- file.path(getDemoPath(), "1.overview", "importFromMonolix_clinicalTrial.smlx")
  loadProject(project_name)
  deleteElement(name = "mlx_CovDist")
JavaScript errors detected

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

If this problem persists, please contact our support.