example of do.subsettype