argcheck_Kmax {segclust2d} | R Documentation |
Check whether argument 'Kmax' was provided and is adequate before subsampling. Propose adequate value if Kmax is not provided.
argcheck_Kmax(Kmax, lmin, datalength)
Kmax |
maximum number of segments. |
lmin |
minimum length of segments. |
datalength |
length of data provided |
an integer