If "train", "valid", and "xval" parameters are FALSE (default), then the training tot_withinss value is returned. If more than one parameter is set to TRUE, then a named vector of tot_withinss' are returned, where the names are "train", "valid" or "xval".
h2o.tot_withinss(object, train = FALSE, valid = FALSE, xval = FALSE)
An H2OClusteringModel object.
Retrieve the training total within cluster sum of squares
Retrieve the validation total within cluster sum of squares
Retrieve the cross-validation total within cluster sum of squares