Description Usage Arguments Details Value Author(s) See Also Examples

This function plots the estimated survival function along with associated pointwise 95% confidence intervals corresponding to the input strata and values of explanatory variables.

1 2 |

`x` |
output returned by icweib function. |

`strata` |
the vector of strata for which the survival function is estimated and plotted. The default is NULL, corresponding to all strata. |

`Z` |
the vector of values of explanatory variables for which the survival function is estimated and plotted. The order and length should match the estimated coefficients as shown in x$coef. The default is NULL, corresponding to all 0 or baseline. |

`tRange` |
the range of time to plot. It should be in the format of c(t1, t2), which means that the range of time is t1 to t2. The default is NULL, corresponding to 0 to maximum observed time in the data. |

`tEst` |
the vector of times at which the survival function along with associated pointwise 95% confidence internval is estimated and output. The default is NULL, which means no estimated survival function is output. |

`...` |
arguments of |

The survival function and associated pointwise 95% confidence intervals are estimated for input values of time and covariates.

If tEst is specified, then a dataframe of estimated survival function along with 95% confidence interval is returned.

Xiangdong Gu and Raji Balasubramanian

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.