Learn R Programming

ivtools (version 2.3.0)

plot.ivah: Plots result of G-estimation in causal AH model.

Description

This is a plot method for class "ivah". It only supports objects fitted with estmethod="g".

Usage

# S3 method for ivah
plot(x, gof=FALSE, CI.level=0.95, ...)

Arguments

x

an object of class "ivah", fitted with estmethod="g".

gof

should we plot the goodness-of-fit process? If not, then \(B(t)\) is plotted together with confidence intervals.

CI.level

level for the confidence intervals.

not used.

Examples

Run this code
# NOT RUN {
##See documentation for ivah.

# }

Run the code above in your browser using DataLab