predict.tsriadditive: the predict function associated with our class

Description Usage Arguments Value

View source: R/tsriadditive.R

Description

the predict function associated with our class

Usage

1
2
3
## S3 method for class 'tsriadditive'
predict(fit, newtreatment = NULL, newIV = NULL,
  newcovariates = NULL)

Arguments

fit

the fitting object after fitting our model

newtreatment

the new treatment value

newIV

new instrumental variable value

newcovariates

new observed covariates

Value

an object recording the corresponding predicted survival curve and corresponding pointwise confidence interval


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