regWO.formula {hce}R Documentation

Win Odds Regression Using a Formula Syntax

Description

This function performs regression analysis for the win odds using a single numeric covariate.

Usage

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

Arguments

x

an object of class formula.

data

a data frame.

...

additional parameters.

Value

a data frame containing the calculated win odds and its confidence interval, including:

References

Gasparyan SB et al. (2021) "Adjusted win ratio with stratification: calculation methods and interpretation." Statistical Methods in Medical Research 30.2: 580-611. doi:10.1177/0962280220942558.

See Also

regWO(), regWO.data.frame().

Examples

regWO(AVAL ~ TRTP, data = KHCE)
regWO(AVAL ~ TRTP + EGFRBL, data = KHCE)

[Package hce version 0.7.2 Index]