Return the value valuename of the results managment RMname.
RM_get(
x = stop("An object with results managment must be provided"),
RM = "RM",
RMname = stop("A results managment name must be provided"),
valuename = NULL
)
The object in which to get a result in a results managment
The name of results managment stored
The name of the results managment to be read
The name of the value to be read
Return a value in a results managment object
RM_get gets a value in results managment to an object
Other Results Managment:
RM_add()
,
RM_delete()
,
RM_duplicate()
,
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")
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")
# }
Run the code above in your browser using DataLab