Relist in Rrelist.R, an inverse operator to R's unlist operation. Together, unlist and relist allow functions to internally view their parameters as being complex data structures, while other functions only see a vector interface. For example, likelihood functions might have mean and covariance matrix parameters that would most conveniently be represented as a list containing a vector and a matrix. Using unlist and relist allows the likelihood function to be implemented conveniently, but with an interface compatible with optim.
Included in R.