Learn R Programming

dynsurv (version 0.4-7)

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, ...)

Value

A ggplot object.

Arguments

object

A data.frame returned by the function nu.

...

Other arguments.

See Also

nu.bayesCox.

Examples

Run this code
## See the examples in bayesCox

Run the code above in your browser using DataLab