Thank you. It worked beautifully :) -- View this message in context: http://r.789695.n4.nabble.com/How-to-create-data-frame-column-name-in-a-function-tp4605358p4608663.html Sent from the R devel mailing list archive at Nabble.com.