plot.tsriadditive: plot function associated with our class

Description Usage Arguments

View source: R/tsriadditive.R

Description

this function will plot the predicted curve and corresponding pointwise confidence interval at level alpha

Usage

1
2
3
## S3 method for class 'tsriadditive'
plot(fit, newtreatment = NULL, newIV = NULL,
  newcovariates = NULL, alpha = 0.05, unit = "", ...)

Arguments

fit

the fitting object after fitting our model

newtreatment

the new treatment value

newIV

new instrumental variable value

newcovariates

new observed covariates

alpha

the level for confidence interval

unit

the time unit we focus

...

the other arguments you want to put in the built-in plot function


andrewyyp/tsriadditive documentation built on May 25, 2019, 9:23 a.m.