deleteOutcome
[Simulx] Delete an outcome
Delete an outcome.
Usage
deleteOutcome(name)
Arguments
- name
(character) Outcome name
Details
Outcomes defined are created in the background and saved with the Simulx project if calling saveProject
.
To check which outcomes have been defined, please use getOutcomes
.
An outcome used in an endpoint cannot be deleted. The related endpoint must be deleted first with deleteEndpoint
.
See also
Examples
initializeLixoftConnectors("simulx")
project_name <- file.path(getDemoPath(), "6.outcome_endpoints", "6.1.outcome_endpoints", "OutcomeEndpoint_PDTTE_survival_NADIR_timeToNADIR.smlx")
loadProject(project_name)
deleteEndpoint("mean_NADIR")
deleteOutcome("NADIR")