deleteElement
[Simulx] Delete element
Delete an element of any type.
Usage
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
initializeLixoftConnectors("simulx")
project_name <- file.path(getDemoPath(), "1.overview", "importFromMonolix_clinicalTrial.smlx")
loadProject(project_name)
deleteElement(name = "mlx_CovDist")