batch_apply {scan} | R Documentation |
Apply a function to each element in an scdf.
Description
This function applies a given function to each case of a multiple case scdf, returning a list of the output of each function call.
Usage
batch_apply(scdf, fn, simplify = FALSE)
Arguments
scdf |
A list of inputs to apply the function to. |
fn |
The function to apply to each element. Use a |
simplify |
If simplify is TRUE and |
Value
A list of the output of each function call.
Examples
batch_apply(exampleAB, coef(plm(.)))
[Package scan version 0.61.0 Index]