plotNu function

Plot Latent Variance in Bayesian Cox Model

Plot Latent Variance in Bayesian Cox Model

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.

plotNu(object, ...)

Arguments

  • object: A data.frame returned by the function nu.
  • ...: Other arguments.

Returns

A ggplot object.

Examples

## See the examples in bayesCox

See Also

nu.bayesCox.

  • Maintainer: Wenjie Wang
  • License: GPL (>= 3)
  • Last published: 2024-07-08