Usage
gMCPtest(dose, drEst, vCov, models, alpha = 0.025, contMat = NULL,
critV = NULL, pVal = TRUE, alternative = c("one.sided","two.sided"),
direction = c("increasing", "decreasing"),
mvtcontrol = mvtnorm.control(), std = TRUE, off, scal)
Arguments
dose
Numeric specifying the dose variable.
drEst
Numeric specifying the response estimate
corresponding to the doses in dose
vCov
Covariance matrix associated with the dose-response
estimate specified via drEst
models
A candidate models list. A list specifying the model shapes to be
included in the contrast matrix.
The names of the list entries should be equal to the names of
the model functions. The list entries should be equal to prior
estimates for s
alpha
Significance level for the multiple contrast test
contMat
Optional matrix containing the optimal contrasts in the columns.
If specified the code does not calculate the optimal contrasts.
critV
Critical value, if NULL, no critical value will be calculated, and
the test decision will be based on the p-values. If critV = TRUE
the critical value will be calculated (the test decision will be
based on the critical value). If critV is equa
pVal
Optional logical determining whether p-values should be
calculated, defaults to TRUE. If the critical value is supplied,
p-values will not be calculated.
alternative
Character determining the alternative for the multiple contrast
trend test.
direction
Character determining the trend direction of the data, which one
wants to investigate (e.g., if one wants to investigate whether the
response gets larger with increasing dose direction should be equal
to "increasing"). When the contrast matrix
mvtcontrol
A list specifying additional control parameters for the qmvt
and pmvt
calls in the code, see also mvtnorm.control
for details.
std
Optional logical value determining, whether standardized versions should be assumed
for calculation of the optimal contrasts. If FALSE all model parameters need to be specified
in the models argument (also location and scale parameters).
off
Fixed offset parameter needed when the linear in log model is used.
See also documentation of the linear in log model: "linlog".
When off = NULL
by default (maximum dose)*0.1 is
used for off
.
scal
Fixed scale parameter needed when the beta model is used.
See also documentation of the beta model: "betaMod".
When scal = NULL
by default (maximum dose)*1.2 is
used for scal
.