Check whether argument 'lmin' was provided and is adequate before subsampling
argcheck_lmin(lmin, is_segclust)minimum length of segments.
TRUE if function is called from segclust ;
FALSE otherwise, if function is called from segmentation.
a NULL object