summaryWO.data.frame {hce}R Documentation

Win odds summary for a data frame

Description

Win odds summary for a data frame

Usage

## S3 method for class 'data.frame'
summaryWO(x, AVAL, TRTP, ref, GROUP = NULL, ...)

Arguments

x

a data frame containing subject-level data.

AVAL

variable in the data with ordinal analysis values.

TRTP

the treatment variable in the data.

ref

the reference treatment group.

GROUP

an optional variable for grouping.

...

additional parameters.

Value

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

See Also

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

Examples

summaryWO(x = HCE3, AVAL = "AVAL", TRTP = "TRTP", ref = "P", GROUP = "GROUP")

[Package hce version 0.6.0 Index]