normEndp | R Documentation |
Represents normally distributed endpoints in clinical trials.
normEndp(mu, sigma)
mu |
vector of the expected responses of the treatment groups, should have
length |
sigma |
vector of the standard deviations in each treatment group,
should have length |
The normEnd
function is a constructor function
for an S4 object of the class normEnd
representing
a normally distributed endpoint in a clinical trial.
In conjunction with the assess function, normal endpoints
admit the calculation of the exact type-I-error probability and power.
A S4
object that represents a normally distributed endpoint in a clinical trial
Compute exact or simulated type-I-error: assess
.
Other endpoint types:
expEndp
,
survEndp
# set the parameters of two normally distributed endpoints
endp <- normEndp(mu = c(1, 2), sigma = c(1, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.