create.sub.objects function

Create sub-objects for each object in a dataframe (internal)