RM_delete | R Documentation |
Return the original object with the deleted results managment or result.
RM_delete(
x = stop("An object with results managment must be provided"),
RM = "RM",
RMname = stop("A name must be provided"),
valuename = NULL
)
x |
The object to delete a results managment |
RM |
The name of results managment stored |
RMname |
The name of the result that will be deleted or its rank |
valuename |
The name of the result that will be deleted |
RM_delete deletes a results managment or a result within a results managment from an object
The original object with the deleted results managment
Marc Girondot marc.girondot@gmail.com
Other Results Managment:
RM_add()
,
RM_duplicate()
,
RM_get()
,
RM_list()
## Not run:
library("HelpersMG")
# Let an object of class objclass being created
obj <- list(A=100, name="My object")
class(obj) <- "objclass"
# And now I create a RM to this object
obj <- RM_add(x=obj, RMname="NewAnalysis1")
obj <- RM_add(x=obj, RMname="NewAnalysis2")
RM_list(obj)
obj <- RM_delete(x=obj, RMname="NewAnalysis1")
RM_list(obj)
obj <- RM_delete(x=obj, RMname=1)
RM_list(obj)
obj <- RM_add(x=obj, RMname="NewAnalysis1", valuename="V1", value=100)
RM_list(obj)
RM_get(x=obj, RMname="NewAnalysis1", valuename="V1")
obj <- RM_add(x=obj, RMname="NewAnalysis1", valuename="V2", value=200)
RM_get(x=obj, RMname="NewAnalysis1", valuename="V2")
obj <- RM_delete(x=obj, RMname="NewAnalysis1", valuename="V1")
RM_get(x=obj, RMname="NewAnalysis1", valuename="V1")
RM_get(x=obj, RMname="NewAnalysis1", valuename="V2")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.