def subsampleReplicates(repNumber,partitions,dataset,seed):
    '''
    Wrapper function that generates replicate datasets using the subsampling function.
    :param repNumber: int number of replicates to generate based on the parameters given
    :param partitions: int designating the number of evenly spaced sample sizes to randomly select from the native dataset
    :param dataset: DataFrame of the native dataset compatible with the suffle function
    :param seed: pseudorandom seed, compatible with the replicate wrapper since it adds the index to the seed
    :return repOut: nested dictionary of the randomly sampled datasets, keys are the replicate number
    '''
    repOut={}
    for i in range(repNumber):
        repOut["replicate{0}".format(i)]=subsample(partitions,dataset,seed+i)
    return repOut
Wrapper function that generates replicate datasets using the subsampling function.
    :param repNumber: int number of replicates to generate based on the parameters given
    :param partitions: int designating the number of evenly spaced sample sizes to randomly select from the native dataset
    :param dataset: DataFrame of the native dataset compatible with the suffle function
    :param seed: pseudorandom seed, compatible with the replicate wrapper since it adds the index to the seed
    :return repOut: nested dictionary of the randomly sampled datasets, keys are the replicate number