Description Usage Arguments Value See Also Examples
pv.contour.rc
draws the contour plot of prediction variance
for a given design with right censoring plan. Either useCond
or
use region (useLower
and useUpper
) should be
provided.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
design |
the data frame containing the coordinates and the number of
allocation of each design point. The design created by either
|
xAxis |
the name of the factor to be displayed in x axis. |
yAxis |
the name of the factor to be displayed in y axis. |
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 |
useCond |
the vector of specified use condition. If it is provided, the contour line will be generated up to this point. |
useLower, useUpper |
the vector of the use region. If these are
provided, the contour line will be generated up to this region.
Note that either |
The contour plot of prediction variance for right censoring.
1 2 3 4 5 6 7 8 9 | ## Not run:
# Contour plot of prediction variance of U optimal design with right censoring.
Design <- altopt.rc("D", 100, 100, 2, 1, formula = ~ x1 + x2 + x1:x2,
coef = c(0, -4.086, -1.476, 0.01), useCond = c(1.758, 3.159))
pv.contour.rc(Design$opt.design.rounded, x1, x2, 100, 2, 1,
formula = ~ x1 + x2 + x1:x2, coef = c(0, -4.086, -1.476, 0.01), useCond = c(1.758, 3.159))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.