- doses
A numerical vector of doses, corresponding to the theoretical
response values provided.
- resp
A numeric vector of response values corresponding to the doses.
This should be on the link scale (e.g. resp
should be on the
log-scale if using the log-link).
- nSample
An integer if Ntype
is "arm" or "total", or a numerical
vector of patient allocations for each arm if Ntype
is "actual".
- Ntype
One of "arm", "total", or 'actual". See documentation for
Ntype
in powMCT
for descriptions
of "arm" and 'total". For "actual", the nSample should be a numerical
vector containing the actual patient allocation for each dose provided.
- nSim
An integer specifying the number of simulations used to estimate
the covariance matrix.
- alRatio
Vector describing the relative patient allocations to the dose
groups up to proportionality, e.g. rep(1, length(doses))
corresponds
to balanced allocations.
- family
A character string containing the error distribution to be used
in the model.
- link
A character string specifying the link to be using when modeling
the glm.
- modelPar
A numeric vector containing the additional parameters for the
family argument. If the family is negative binomial, the dispersion
parameter should be supplied. If the family is binomial, no model parameter
should be supplied.
- placEff
A numeric value specifying the mean response at the placebo
This is required if link
= "risk ratio" or "log risk ratio" and
ignored otherwise.
- verbose
A logical specifying whether the patient allocation should be
printed, in addition to the results.