Check whether argument 'ncluster' and 'nseg' were provided. If not, propose default value based on BIC.
argcheck_segclust(ncluster, nseg, ncluster.BIC, Kopt.BIC)
number of cluster
number of segment
optimal number of cluster selected by BIC
optimal number of segment selected by BIC for each number of cluster
a list with two integers