Internal segmentation/clustering function

segclust_internal(
  x,
  seg.var,
  diag.var,
  order.var,
  Kmax,
  ncluster,
  lmin,
  scale.variable,
  sameSigma = FALSE,
  ...
)

Arguments

x

data.frame with observations

seg.var

names of the variables used for segmentation (either one or two names).

diag.var

names of the variables on which statistics are calculated.

order.var

names of the variable with which states are ordered.

Kmax

maximum number of segments.

ncluster

number of cluster into which segments should be grouped. Can be a vector if one want to test several number of clusters.

lmin

minimum length of segments.

scale.variable

TRUE or FALSE for automatic scaling of variables (reduction and centering)

sameSigma

does segments have same variance ?

...

additional arguments given to chooseseg_lavielle