def subsampleReplicates(repNumber,partitions,dataset,seed):
repOut={}<EOL>for i in range(repNumber):<EOL><INDENT>repOut["<STR_LIT>".format(i)]=subsample(partitions,dataset,seed+i)<EOL><DEDENT>return repOut<EOL>
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