Description Usage Arguments Details See Also Examples
A convenience function that works like lapply
, but
coerces the output to a data.frame
if possible. We
set stringsAsFactors=FALSE
, and
optional=TRUE
, to minimize the amount of automatic
coersion R might try to do.
1 |
X |
a vector, expression object, or a
|
FUN |
function to be applied to each element of
|
... |
optional arguments to |
This function is preferable to sapply
or
lapply
when you explicitly want a data frame
returned.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.