Learn R Programming

rcompanion (version 2.4.30)

PMCMRTable: Convert PMCMR Objects to a Data Frame

Description

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

Usage

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

Value

A data frame of comparisons and p-values

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

Author

Salvatore Mangiafico, mangiafico@njaes.rutgers.edu

Details

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

References

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