Contour plot of prediction variance for a design with right censoring.
Description
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.
Usage
1 2 
Arguments
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 
Value
The contour plot of prediction variance for right censoring.
See Also
altopt.rc
Examples
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.