fitLinear | R Documentation |
Fit linear regression model on a continuous endpoint.
fitLinear(formula, placebo, data, alternative, ...)
formula |
an object of class |
placebo |
Character. String indicating the placebo arm in |
data |
Data frame. Usually it is a locked data set. |
alternative |
a character string specifying the alternative hypothesis,
must be one of |
... |
Subset conditions compatible with |
a data frame with columns:
arm
name of the treatment arm.
placebo
name of the placebo arm.
estimate
estimate of average treatment effect of arm
.
p
one-sided p-value for between-arm difference (treated vs placebo).
info
sample size used in model with NA
being removed.
z
z statistics of between-arm difference (treated vs placebo).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.