Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (25 sloc) 0.722 kb
\name{as.data.frame.function}
\alias{as.data.frame.function}
\title{Make a function return a data frame.}
\usage{
\method{as.data.frame}{function} (x, row.names, optional,
...)
}
\arguments{
\item{x}{function to make return a data frame}
\item{row.names}{necessary to match the generic, but not
used}
\item{optional}{necessary to match the generic, but not
used}
\item{...}{necessary to match the generic, but not used}
}
\description{
Create a new function that returns the existing function
wrapped in a data.frame
}
\details{
This is useful when calling \code{*dply} functions with a
function that returns a vector, and you want the output
in rows, rather than columns
}
\keyword{manip}
Jump to Line
Something went wrong with that request. Please try again.