S3 printing method for for multimix parameter results

# S3 method for multimixParamList
print(
  x,
  type = c("means", "vars"),
  byLevel = FALSE,
  digits = c(4, 2, 3, 16),
  pedantic = FALSE,
  raw = FALSE,
  ...
)

Arguments

x

an object of class multimixParamResults -- see initParamList for more information.

type

the statistic you want displayed. If means then the cluster means will be displayed for each univariate continuous variable, the cluster proportions for each level of a categorical variable, and the mean vector for each cluster and each multivariate normal variable.

byLevel

if TRUE then location model summary stats will be printed by the level of the factor in the location model. Otheriwse (default), they will be printed cluster by cluster.

digits

a vector of length 4. The first value determines how many decimal places to round categorical proportions to. The second value determines how many significant digits to display means to, and the third how many siginificant digits to display variances to. By default proportions are rounded to 4 decimal places, means 2 significant digits, and variances 3 significant digits. The fourth value is only used if pedantic == TRUE, and is set to 16 significant figures by default.

pedantic

if TRUE then the results are printed to high precision for checking purposes. This means digits[4] which is 16 decimal places by default.

raw

if TRUE then switches off all of the customised printing and uses the default print methods for lists etc.

...

additional arguments passed to print.

Value

No return value, called for side effects.

Author

James Curran