Generic_functions: Summarising and plotting the results of hypothesis trees and...

summary.ctpR Documentation

Summarising and plotting the results of hypothesis trees and closed testing procedures

Description

The functions summary.ctp.str and Display.ctp.str summarise and plot the hypothesis tree of a closed testing procedure, whereas the functions summary.ctp and Display.ctp summarise and plot the results of a closed testing procedure.

Usage

## S3 method for class 'ctp'
summary(object, digits = 4, ...)

## S3 method for class 'ctp.str'
summary(object, ...)

Display(object, ...)

## S3 method for class 'ctp'
Display(object, Type = "s", arrow = FALSE, ...)

## S3 method for class 'ctp.str'
Display(object, Type = "s", arrow = FALSE, ...)

Arguments

object

Object generated by AnalyseCTP or IntersectHypotheses.

digits

The minimum number of significant digits to be printed for the p-values in the summary.

...

Additional arguments passed to Display.

Type

Type of the plotted tree: "s" straight lines, "" tree type.

arrow

If TRUE, an arrow is plotted in the connections.

Details

@name Generic_Functions

@aliases summary Display

Value

  • summary.ctp.str provides lists with dataframes comprising the hypothesis names as strings and the relationship between the hypotheses.

  • summary.ctp provides a table of hypotheses, raw p-values and adjusted p-values.

Note

Disply.ctp.str plots the hypothesis tree.
Display.ctp plots the hypothesis tree together with the unadjusted and adjusted p-values.

See Also

IntersectHypotheses, AnalyseCTP


openpharma/CTP documentation built on Sept. 29, 2022, 1:58 p.m.