PMCMRTable: Convert PMCMR Objects to a Data Frame

View source: R/PMCMRTable.r

PMCMRTableR Documentation

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)

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

Details

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

Value

A data frame of comparisons and p-values

Author(s)

Salvatore Mangiafico, mangiafico@njaes.rutgers.edu

References

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


rcompanion documentation built on Sept. 17, 2023, 5:07 p.m.