PMCMRTable function

Convert PMCMR Objects to a Data Frame

Convert PMCMR Objects to a Data Frame

Extracts a data frame of comparisons and p-values from an PMCMR object from the PMCMRplus package

PMCMRTable(PMCMR, reverse = TRUE, digits = 3)

Arguments

  • PMCMR: A PMCMR object

  • reverse: If TRUE, reports the comparison as e.g. (B - A = 0). This will more closely match the output of PMCMRplus::summary.PMCMR for all-pairs comparisons. If FALSE, reports the comparison as e.g. (A - B = 0). This will result in the output from rcompanion::cldList

    matching the output of PMCMRplus::summaryGroup

  • digits: The significant digits in the output

Returns

A data frame of comparisons and p-values

Details

Should produce meaningful output for all-pairs and many-to-one comparisons.

References

https://rcompanion.org/handbook/F_08.html

Author(s)

Salvatore Mangiafico, mangiafico@njaes.rutgers.edu