RM_list | R Documentation |
RM_list returns the list of results managment of an object.
RM_list(
x = stop("An object with results managment must be provided"),
RM = "RM",
silent = FALSE,
max.level = FALSE
)
x |
The object to add a results managment |
RM |
The name of results managment stored |
silent |
Should the results be shown ? |
max.level |
If TRUE, will return all list element of the objects |
RM_list returns the list of results managment of an object
A list with the names of results stored in an object
Marc Girondot marc.girondot@gmail.com
Other Results Managment:
RM_add()
,
RM_delete()
,
RM_duplicate()
,
RM_get()
## 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")
RM_list(obj)
obj <- RM_add(x=obj, RMname="NewAnalysis2")
RM_list(obj)
obj <- RM_add(x=obj, RMname="NewAnalysis2", valuename="V1", value=100)
RM_get(x=obj, RMname="NewAnalysis2", valuename="V1")
obj <- RM_add(x=obj, RMname="NewAnalysis2", valuename="V1", value=200)
RM_get(x=obj, RMname="NewAnalysis2", valuename="V1")
obj <- RM_add(x=obj, RMname="NewAnalysis2", valuename="V2", value=300)
RM_get(x=obj, RMname="NewAnalysis2", valuename="V2")
RM_list(obj)
rmlist <- RM_list(obj, max.level=TRUE)
rmlist
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.