Description Usage Arguments Details Value See Also Examples

Plot coefficient values formatted in a data frame returned by function
`coef`

.

1 |

`object` |
A data.frame returned by function |

`smooth` |
A logical value, default |

`...` |
Other arguments. |

To plot estimated coefficient functions from different models together, one
can first combine the data frames returned by `coef`

, and then call
`plotCoef`

, for example, ```
plotCoef(rbind(coef(fit1),
coef(fit2)))
```

.

To specify the time range of the plot, one can either utilize the
`ggplot`

functionality, say `plotCoef(coef(fit)) + xlim(2, 10)`

;
or manipulate the data frame first before calling `plotCoef`

, e.g.,
`plotCoef(subset(coef(fit), Time > 2 & Time < 10))`

.

A `ggplot`

object.

`coef.bayesCox`

, `coef.splineCox`

, and
`coef.tvTran`

.

1 | ```
## See the examples in bayesCox, splineCox, and tvTran.
``` |

```
Loading required package: survival
```

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.