OpasnetUtils/Summary
| Moderator:Nobody (see all) Click here to sign up. |
| This page is a stub. You may improve it into a full page. |
| Upload data
|
Description
Summary defines how summaries of ovariables are shown.
| Moderator:Nobody (see all) Click here to sign up. |
| This page is a stub. You may improve it into a full page. |
| Upload data
|
Summary defines how summaries of ovariables are shown.
# SETMETHOD summary ################### Summary defines how summaries of ovariables are shown.
setMethod(
f = "summary",
signature = signature(object = "ovariable"),
definition = function(object, ...) {
test <- paste(object@name, "Result", sep = "") %in% colnames(object@output)
rescol <- ifelse(test, paste(object@name, "Result", sep = ""), "Result")
object@output <- object@output[ , -grep("Description|Source", colnames(object@output))]
print(xtable(head(object@output)), type = 'html')
# Kehityskohteita:
## Näytetään vain yksi iteraatio, jos Iter-sarake on olemassa.
## Lasketaan mean, median, min, max, 95%CI, SD resultista selittävien sarakkeiden suhteen.
}
)
|