splat | R Documentation |
Wraps a function in do.call, so instead of taking multiple arguments, it takes a single named list which will be interpreted as its arguments.
splat(flat)
flat |
function to splat This is useful when you want to pass a function a row of data frame or array, and don't want to manually pull it apart in your function. Borrowed from |
a function
args <- replicate(3, runif(5), simplify = FALSE)
identical(breedR:::splat(rbind)(args), do.call(rbind, args))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.