cosmo nchoosek partitioner hdr

function partitions = cosmo_nchoosek_partitioner(chunks_or_ds, k, varargin)