Description Usage Arguments Details Value References Examples
This function generates pairwise scatter plots.
1 2 |
yObs |
observed survival times. |
yEst |
predicted survival times. |
delta |
status. it includes value 1 for uncensored and value 0 for censored subject. |
xlab |
x-axis title. Default is NULL. |
ylab |
y-axis title. Default is NULL. |
title |
main title of the plot. |
legendplot |
if TRUE, plot the legend. |
legendpos |
position of the legend in the plot. |
maxvalue |
maximum value of the yObs and yEst. Default is Null. |
minvalue |
minimum value of the yObs and yEst. Default is Null. |
This function generates pairwise scatter plots of the observed and predicted survival times.
This provides a scatter plot of the survival times.
Khan and Shaw (2015). Variable Selection for Survival Data with a Class of Adaptive Elastic Net Techniques. Statistics and Computing (published online; DOI: 10.1007/s11222-015-9555-8). Also available in http://arxiv.org/abs/1312.2079.
1 2 3 4 5 6 7 8 9 | #For a hypothetical data
y<-c(12,33,22,34,11,23)
delta<-c(1,0,0,1,0,1)
yEst<-c(11,30,24,30,6,13)
#plotObsEst: scatter plotting of the pairwise survival times
plot<-plotObsEst(y, yEst, delta, xlab = NULL, ylab = NULL, title = "Predicted
versus Observed Survival times", legendplot = TRUE, legendpos = "topleft",
maxvalue = NULL, minvalue = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.