Description Usage Arguments Value See Also Examples
pv.vdus.rc
draws the VDUS plot of prediction variance
for a given design with right censoring plan. The use region
(useLower
and useUpper
) should be
provided.
1 2 3 4 5 6 7 8 9 10 | pv.vdus.rc(
design,
tc,
nf,
alpha,
formula,
coef,
useLower = NULL,
useUpper = NULL
)
|
design |
the data frame containing the coordinates and the number of
allocation of each design point. The design created by either
|
tc |
the censoring time. |
nf |
the number of stress factors. |
alpha |
the value of the shape parameter of Weibull distribution. |
formula |
the object of class formula which is the linear predictor model. |
coef |
the numeric vector containing the coefficients of each term in |
useLower, useUpper |
the vectors containing the lower bound and upper bound for the use region. They should be provided for VDUS plot. |
The "trellis" object which includes the VDUS plot for right censoring.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# VDUS plot of I optimal design with right censoring.
Design <- altopt.rc("I", 100, 100, 2, 1, formula = ~ x1 + x2 + x1:x2,
coef = c(0, -4.086, -1.476, 0.01), useLower = c(1.458, 2.859), useUpper = c(2.058, 3.459))
pv.vdus.rc(Design$opt.design.rounded, 100, 2, 1,
formula = ~ x1 + x2 + x1:x2, coef = c(0, -4.086, -1.476, 0.01),
useLower = c(1.458, 2.859), useUpper = c(2.058, 3.459))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.