R/print_summary_DNAmat.R

Defines functions print.summary_DNAmat

Documented in print.summary_DNAmat

#' Internal function
#'
#' @description
#' This is an internal function
#'
#' @export


print.summary_DNAmat <- function(res){
  cat("Summary statistics:\n")
  cat("Site frequency spectrum:", res$SFS, "\n")
  cat("Estimators of the scaled mutation rate:\n",
      "Watterson's estimator:", res$Watterson, "\n",
      "Pairwise difference estimator:", res$pairwDiff, "\n")
  cat("Tajima's D:", res$TajimaD, "\n")
}
aumath-advancedr2019/simDNA documentation built on Nov. 27, 2019, 11 a.m.