Learn R Programming

dynsurv (version 0.2-2)

plotNu: Plot Latent Variance in Bayesian Cox Model

Description

Plot the latent variance nu when the hierarchical AR(1) process prior is used for the bayesCox model. It is applicable when model="TimeVarying" or model="Dynamic", and coef.prior=list(type="HAR1"). The input data frame is returned by function nu.

Usage

plotNu(object, ...)

Arguments

object
a data.frame returned by the function nu.
...
other arguments.

Value

A ggplot object.

See Also

nu.bayesCox.

Examples

Run this code
# See the examples in bayesCox

Run the code above in your browser using DataLab