Description Usage Arguments Value Methods for function simApply Methods for function simSapply Author(s) See Also Examples
Generic functions for applying a function to subsets of a data set.
1 2 3 |
x |
the |
design |
a character, logical or numeric vector specifying the variables (columns) used for subsetting. |
fun |
a function to be applied to the subsets. |
simplify |
a logical indicating whether the results should be simplified to a vector or matrix (if possible). |
... |
additional arguments to be passed to |
For simApply
a data.frame
.
For simSapply
, a list, vector or matrix (see sapply
).
x = "data.frame", design = "BasicVector", fun = "function"
apply
a function to subsets given by the variables (columns) in design
.
x = "data.frame", design = "Strata", fun = "function"
apply a
function to subsets given by design
.
x = "data.frame", design = "BasicVector", fun = "function"
apply
a function to subsets given by the variables (columns) in design
.
x = "data.frame", design = "Strata", fun = "function"
apply a
function to subsets given by design
.
Andreas Alfons
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.