# Plot method for CHR objects

### Description

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

### Usage

1 2 3 4 |

### Arguments

`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 |

### See Also

`CHR.object`

, `print.CHR`

, `summary.CHR`

, `print.summary.CHR`

### Examples

1 2 3 4 5 6 |