Difference between revisions of "OpasnetUtils/Drafts"

From Testiwiki
Jump to: navigation, search
(Answer)
(Answer)
Line 400: Line 400:
 
# temp is the amount that is still missing from the total.
 
# temp is the amount that is still missing from the total.
 
temp <- total - oapply(X, cols = cols, FUN = function(x) sum(x, na.rm = TRUE))
 
temp <- total - oapply(X, cols = cols, FUN = function(x) sum(x, na.rm = TRUE))
temp <- unkeep(temp, cols = rescol) # Remove old rescol because it would cause trouble later.
+
if(rescol != "Result") temp <- unkeep(temp, cols = rescol) # Remove old rescol because it would cause trouble later.
 
colnames(temp@output)[colnames(temp@output) == "Result"] <- "tempResult"  
 
colnames(temp@output)[colnames(temp@output) == "Result"] <- "tempResult"  
 
temp@name <- "temp" # This is to make sure that merge works.
 
temp@name <- "temp" # This is to make sure that merge works.

Revision as of 15:50, 16 February 2015



Question

Which functions are so useful that they should be taken into OpasnetUtils package? This page contains draft function which will be included when they are good enough and found important.

Answer

Call the objects stored by this code from another rode with this command:

objects.latest("Op_en6007", code_name = "answer")

+ Show code

See also

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>