calcWINS.formula {hce}R Documentation

Win statistics calculation using formula syntax

Description

Win statistics calculation using formula syntax

Usage

## S3 method for class 'formula'
calcWINS(x, data, ...)

Arguments

x

an object of class formula.

data

a data frame.

...

additional parameters.

Value

a list containing win statistics and their confidence intervals. It contains the following named data frames:

References

The theory of win statistics is covered in the following papers.

See Also

calcWINS(), calcWINS.hce(), calcWINS.data.frame().

Examples

# Example 1
calcWINS(x = GROUP ~ TRTP, data = COVID19b)
# Example 2
calcWINS(x = GROUP ~ TRTP, data = COVID19, ref = "Placebo", alpha = 0.01, WOnull = 1.2)

[Package hce version 0.6.0 Index]