R/function_checks.R
argcheck_segmentation.Rd
Check whether argument 'nseg' was provided. If not, propose default value based on Lavielle's criterium
argcheck_segmentation(nseg, Kopt.lavielle)
number of segment
optimal number of segment selected with Lavielle's criterium
an integer