Check whether argument 'ncluster' and 'nseg' were provided. If not, propose default value based on BIC.

argcheck_segclust(ncluster, nseg, ncluster.BIC, Kopt.BIC)

Arguments

ncluster

number of cluster

nseg

number of segment

ncluster.BIC

optimal number of cluster selected by BIC

Kopt.BIC

optimal number of segment selected by BIC for each number of cluster

Value

a list with two integers