When running a
vapply function and each element returns a single value,
the return value is a named vector. This function can be used to convert
that return value into a data.frame. Similar to
but because the output format from
vapply is different depending on
whether a single value or multiple values are returned, a different function
needs to be used.
Named vector that is a result of a vapply
Column name to use for the name of each element
Column name to use for the values of the rownames
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.