Plot the treatment efficacy or another contrast of risk versus S.1 for an estimated psdesign object

1 2 3 4 |

`x` |
A psdesign object that contains a risk model, integration model, and valid estimates |

`t` |
For time to event outcomes, a fixed time |

`contrast` |
Name of contrast function to plot. |

`sig.level` |
Significance level used for confidence bands on the contrast curve. This is only used if bootstrapped estimates are available. |

`CI.type` |
Character string, "pointwise" for pointwise confidence intervals, and "band" for simultaneous confidence band. |

`n.samps` |
Number of samples to use over the range of S.1 for plotting the curve |

`xlab` |
X-axis label |

`ylab` |
Y-axis label |

`col` |
Vector of integers specifying colors for each curve. |

`lty` |
Vector of integers specifying linetypes for each curve. |

`lwd` |
Vector of numeric values for line widths. |

`...` |
Other arguments passed to plot |

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.