This is the main function to compute the estimator in C++

1 | ```
ivsacim_est(time, event, stime, Zc, D_status, eps_1, Zc_dot, weights)
``` |

`time` |
censored event time |

`event` |
event indicator |

`stime` |
unique sorted noncensored event time |

`Zc` |
centered IV |

`D_status` |
treatment process at each noncensored event time |

`eps_1` |
influence function from modeling IV |

`Zc_dot` |
bread matrix from modeling IV |

`weights` |
optional weights |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.