View source: R/summaryWO_formula.R
summaryWO.formula | R Documentation |
Win odds summary using formula syntax
## S3 method for class 'formula'
summaryWO(x, data, ...)
x |
an object of class formula. |
data |
a data frame. |
... |
additional parameters. |
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.
WO calculated WO (win odds) and WP (win probability) and their standard errors.
formula returning the specified formula in the x
argument.
ref showing how the reference group was selected. Can be modifying by specifying the ref
argument.
summaryWO(data = COVID19, GROUP ~ TRTP)
summaryWO(data = COVID19, GROUP ~ TRTP, GROUP = "GROUP", ref = "Placebo")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.