survivalpred: A survival prediction function

Description Usage Arguments Value

View source: R/auxilliaryfunction.R

Description

The predict function associated with our class

Usage

1
2
survivalpred(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 Dec. 6, 2018, 2:28 a.m.