1\name{recast} 2\alias{recast} 3\title{Recast} 4\author{Hadley Wickham <h.wickham@gmail.com>} 5 6\description{ 7\link{melt} and \link{cast} data in a single step 8} 9\usage{recast(data, formula, ..., id.var, measure.var)} 10\arguments{ 11\item{data}{Data set to melt} 12\item{formula}{Casting formula, see \link{cast} for specifics} 13\item{...}{Other arguments passed to \link{cast}} 14\item{id.var}{Identifying variables. If blank, will use all non measure.var variables} 15\item{measure.var}{Measured variables. If blank, will use all non id.var variables} 16} 17 18\details{This conveniently wraps melting and casting a data frame into 19one step.} 20\seealso{\url{http://had.co.nz/reshape/}} 21\examples{recast(french_fries, time ~ variable, id.var=1:4)} 22\keyword{manip} 23