Mori/Codetest: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 62: | Line 62: | ||
<rcode> | <rcode> | ||
library(xtable) | library(xtable) | ||
library(OpasnetUtils) | |||
var1 <- data.frame(c = c("A", "A", "C"), d = c("D", "E", "E"), Result = 4:6) | var1 <- data.frame(c = c("A", "A", "C"), d = c("D", "E", "E"), Result = 4:6) | ||
var2 <- var1 | var2 <- var1 | ||
Line 73: | Line 74: | ||
print(xtable(out[[2]]), type = 'html') | print(xtable(out[[2]]), type = 'html') | ||
data <- tidy(op_baseGetData("opasnet_base", "Op_en5466"), direction = "wide") | data <- tidy(op_baseGetData("opasnet_base", "Op_en5466"), direction = "wide") | ||
data <- data[colnames(data) != "Unit"] | data <- data[colnames(data) != "Unit"] |