as.fmt.data.frame function

Convert a data frame to a user-defined format