R/print.smacofPerm.R

Defines functions print.smacofPerm

Documented in print.smacofPerm

print.smacofPerm <- function(x,...)
{
  cat("\nCall: ")
  print(x$call)
  cat("\n")
  cat("SMACOF Permutation Test\n")
  cat("Number of objects:",x$nobj,"\n")
  cat("Number of replications (permutations):",x$nrep,"\n")
  cat("\n")
  cat("Observed stress value:",round(x$stress.obs, 3),"\n")
  if (x$pval == 0) cat("p-value: <0.001 \n") else cat("p-value:", x$pval,"\n")
  cat("\n")
}

Try the smacof package in your browser

Any scripts or data that you put into this service are public.

smacof documentation built on May 6, 2022, 9:05 a.m.