1% Generated by roxygen2: do not edit by hand 2% Please edit documentation in R/recast.r 3\name{recast} 4\alias{recast} 5\title{Recast: melt and cast in a single step} 6\usage{ 7recast(data, formula, ..., id.var, measure.var) 8} 9\arguments{ 10\item{data}{data set to melt} 11 12\item{formula}{casting formula, see \code{\link{dcast}} for specifics} 13 14\item{...}{other arguments passed to \code{\link{dcast}}} 15 16\item{id.var}{identifying variables. If blank, will use all non 17measure.var variables} 18 19\item{measure.var}{measured variables. If blank, will use all non 20id.var variables} 21} 22\description{ 23This conveniently wraps melting and (d)casting a data frame into 24a single step. 25} 26\examples{ 27recast(french_fries, time ~ variable, id.var = 1:4) 28} 29\seealso{ 30\url{http://had.co.nz/reshape/} 31} 32\keyword{manip} 33