Description Usage Arguments See Also Examples

Plot the cumulative hazard ratio estimates and their 95% confidence bands for the comparison between two dynamic treatment regimes

1 2 3 4 |

`x` |
an object of class |

`log.CHR` |
if log.CHR=FALSE (default), the cumulative hazard ratio estimates are plotted; if log.CHR=TRUE, the log cumulative hazard ratio estimates are plotted |

`confidence.interval` |
If confidence.interval=FALSE (default), the 95% confidence bands are not plotted. If confidence.interval=TRUE, the 95% confidence bands are plotted as shadows. |

`xlab` |
label given to the x-axis. Default is "Time". |

`line.color` |
colors for the lines. Default are "black", "grey30", "grey50", "grey60", "grey70", and "grey80" for A1B2 vs. A1B1, A2B1 vs. A1B1, A2B2 vs. A1B1, A2B1 vs. A1B2, A2B2 vs. A1B2, and A2B2 vs. A2B1 respectively. |

`legend.position` |
the position of legend: "left", "right" (default), "bottom", "top", or two-element numeric vector (e.g. c(0.6,0.9)) |

`...` |
for future methods |

`CHR.object`

, `print.CHR`

, `summary.CHR`

, `print.summary.CHR`

1 2 3 4 5 6 |

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.