Difference between revisions of "OpasnetUtils/Drafts"

From Testiwiki
Jump to: navigation, search
(Answer: unkeep removed because it is part of OpasnetUtils package now)
(Answer)
Line 654: Line 654:
 
X@marginal <- c(TRUE, X@marginal) # Add Year to marginal
 
X@marginal <- c(TRUE, X@marginal) # Add Year to marginal
 
X <- oapply(X, cols = "Eventyear", FUN = "sum", na.rm = TRUE)
 
X <- oapply(X, cols = "Eventyear", FUN = "sum", na.rm = TRUE)
X@output$Year <- as.numeric(levels(X@output$Year)[X@output$Year])
+
X@output$Year <- as.numeric(as.character(X@output$Year))
 
X@output <- X@output[!is.na(result(X)) , ]
 
X@output <- X@output[!is.na(result(X)) , ]
 
return(X)
 
return(X)

Revision as of 11:00, 4 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>