| fitLogistic | R Documentation |
Fit logistic regression model on an binary endpoint.
Refer to this vignette for more information and examples.
fitLogistic(formula, placebo, data, alternative, scale, ...)
formula |
An object of class |
placebo |
Character. String indicating the placebo in |
data |
Data frame. Usually it is a locked data set. |
alternative |
a character string specifying the alternative hypothesis,
must be one of |
scale |
character. The type of estimate in the output. Must be one
of |
... |
Subset conditions compatible with |
a data frame with columns:
armname of the treatment arm.
placeboname of the placebo arm.
estimateestimate depending on scale.
pone-sided p-value for log odds ratio (treated vs placebo).
infosample size used in model with NA being removed.
zz statistics of log odds ratio (treated vs placebo).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.