put all output in lists with better names. e.g. medic = list( wide, long ) where wide and long are the data in wide and long format, etc