summaryWO.adhce: Win odds summary for 'adhce' objects

View source: R/summaryWO_adhce.R

summaryWO.adhceR Documentation

Win odds summary for adhce objects

Description

Win odds summary for adhce objects

Usage

## S3 method for class 'adhce'
summaryWO(x, ...)

Arguments

x

an adhce object.

...

additional parameters.

Value

a list containing the summary of wins, losses, and ties. It contains the following named objects:

  • summary a data frame containing number of wins, losses, and ties by treatment group and the overall number of comparisons.

  • summary_by_GROUP (if GROUP variable is specified) a summary data frame by GROUP.

  • WO calculated WO (win odds) and WP (win probability) and their standard errors.

See Also

calcWO(), summaryWO(), summaryWO.data.frame(), summaryWO.formula(), summaryWO.hce() methods.

Examples

dat <- as_hce(HCE4)
## `PADY` is not present in the dataset, hence converts it to an `hce` object 
## instead of an `adhce` object.
class(dat)
summaryWO(dat, ref = "P")
## The class is `adhce` hence will use the variable `GROUP`.
HCE4$PADY <- 1080
dat <- as_hce(HCE4) 
class(dat)
summaryWO(dat, ref = "P")

hce documentation built on Aug. 23, 2025, 1:11 a.m.