Description Usage Arguments Details Author(s) References See Also Examples

`sensPlot`

creates a contour plot that summarizes the results of the sensitivity analysis obtained from `GLM.sens`

. The plot region is defined by the coefficient on U in the outcome model (vertical axis) and that in the treatment model (horizontal axis). Each contour represents the combination of sensitivity parameters for *U* that lead to the same treatment effect estimate.

1 2 3 4 |

`x` |
an object of class |

`contour.levels` |
numeric vector of levels at which to draw contour lines. The default is |

`col.zero` |
color of the contour representing the combination of zetas that lead to the treatment effect estimate of 0. The default is |

`lty.zero` |
line type of the contour representing the combination of zetas that lead to the treatment effect estimate of 0. The default is |

`col.insig` |
color of the contour representing the combination of zetas that makes the treatment effect estimate statistically insignificant at a given level. The default is |

`lty.insig` |
line type of the contour representing the combination of zetas that makes the treatment effect estimate statistically insignificant at a given level. The default is |

`data.line` |
logical. If |

`X.pch` |
vector of length 2 giving plotting symbols confounders with a positive association with the outcome and a negative association with the outcome, respectively. The default is c(3,6). |

`signif.level` |
this option specifies the statistical significance level at which the significance contour is drawn. The default is 0.05. |

`labcex` |
letter size of the treatment effect estimates on the contours. The default is 0.75. |

`limit.Xplot` |
logical. If |

`txtlab` |
logical. Label plotted covariates with variable name. |

`which.txtlab` |
numeric vector of covariates to include, i.e. c(1:3) shows labels for first three covariates. |

`...` |
Other arguments to be passed to all calls to |

Plots contours of treatment effect estimates under varying combinations of sensitivity parameters, with parameters associated with observed covariates for benchmarking. Options allow highlighting of sensitivity parameters where significance is lost/gained, where treatment effect is reduced to zero, or with treatment effect consistent with most extreme covariate.

Nicole Bohme Carnegie, Masataka Harada, Jennifer Hill

Carnegie NB, Hill JH and Harada M. Assessing sensitivity to unmeasured confounding using simulated potential confounders (under review)

`treatSens,plot.default,plot.formula`

.

1 | ```
#See the manual for treatSens.
``` |

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.