as.data.frame.function {plyr}R Documentation

Make a function return a data frame

Description

Create a new function that returns the existing function wrapped in a data.frame

Usage

as.data.frame.function(x, row.names, optional, ...)

Arguments

x
row.names
optional
...

Details

This is useful when calling *dply functions with a function that returns a vector, and you want the output in rows, rather than columns

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package plyr version 0.1.5 Index]