PlotLERCA: Plotting LERCA results.

Description Usage Arguments

Description

Estimated ER, cutoffs, coefficients, inclusion probabilities.

Usage

1
2
PlotLERCA(dta, lerca, ER, variable = NULL, wh_model = NULL, probs,
  inclusion = NULL, coefs = NULL)

Arguments

dta

The data that we are using with column X for exposure.

lerca

The LERCA fit.

ER

The estimated ER as acquired using GetER().

variable

Which variable's results to be plotted. Intercept is 1, Exposure is 2, and the covariates are 3 onwards.

wh_model

Which model's coefficients and inclusion probabilities to be plotted. Options are 1, 2 for exposure and outcome model accordingly.

probs

The quantiles of the distribution to be plotted as intervals.

inclusion

The inclusion probabilities as a function of the exposure and as acquired using ExposureInclusion().

coefs

The coefficients as a function of the exposure as acquired using ExposureCoefs().


gpapadog/LERCA documentation built on June 4, 2019, 11:40 a.m.