Description Usage Arguments Details Value Author(s) Examples
Applies a function to a Mutoss object.
1 | mutoss.apply(mutossObj, f, label = deparse(substitute(f)) , recordHistory = TRUE , ...)
|
mutossObj |
the Mutoss object the function should be applied to |
f |
the function that should be applied |
label |
the label affixed to all slots of the Mutoss object that are changed by the procedure, defaults to the name of parameter f |
recordHistory |
if true, the calling command is concatenated verbatim to the commandHistory slot |
... |
additional parameters that are passed to the function |
This functions is intended for applying functions for multiplicity control on Mutoss class objects using the console and not the Mutoss GUI.
A Mutoss object after applying the given function
mutossObj |
Object of S4 class Mutoss |
Kornelius Rohmeyer
1 2 3 4 5 6 7 | newObjectBonf <- mutoss.apply(new(Class="Mutoss", pValues=runif(10)), f=bonferroni, label="Bonferroni Correction", alpha=0.05)
## Not run: TODO: EXAMPLE PROBLEM
newObjectHolm <- mutoss.apply(new(Class="Mutoss", pValues=runif(10)), f=holm, label="Holm's step-down-procedure", alpha=0.05, silent=T)
newObjectAORC <- mutoss.apply(new(Class="Mutoss", pValues=runif(10)), f=aorc, label="Asymptotically optimal rejection curve", alpha=0.05, startIDX_SUD = 1, silent=T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.