plotsens: A contour plot of sensitivity analysis results.

Description Usage Arguments Details Value Author(s) Examples

View source: R/plotsens.R

Description

A contour plot of sensitivity analysis results.

Usage

1
plotsens(tau.res, zetaz, zetat, tau1, coeff0)

Arguments

tau.res

a data.frame that can be generated from either survSensitivity or comprSensitivity.

zetaz

the name of sensitivity parameter in the treatment model.

zetat

the name of sensitivity parameter in the response model.

tau1

the name of estimated treatment effect.

coeff0

the value of estimated treatment effect ignoring any confounding.

Details

This function gives a contour plot in order to visualize results from either survSensitivity or comprSensitivity.

Value

A contour plot corresponding to the output from either survSensitivity or comprSensitivity.

Author(s)

Rong Huang

Examples

1
2
data(tau.res) #an example output
plotsens(tau.res, "zetaz", "zetat", "tau1", coeff0 = 1.131)

survSens documentation built on April 29, 2020, 5:07 p.m.