Skip to contents

g-formula

Usage

g_form(data = fitR2$res_df, model = fitR2, followup, am = 1, ay = 0)

Arguments

data

input data

model

model for g formula

followup

length of follow up

am

am

ay

ay

Value

dataframe with predict to follow up time