Package: TTE Type: Package Title: Design and Analysis Tools for Target Trial Emulation Version: 1.1.2 Date: 2026-08-28 Authors@R: c(person("Hisashi", "Noma", email = "noma@ism.ac.jp", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-2520-9949"))) Maintainer: Hisashi Noma Description: Design and analysis tools for target trial emulation using longitudinal observational data. Functions are provided for checking person-period data, expanding longitudinal data into sequentially nested trials, estimating inverse probability weights for intention-to-treat and per-protocol analyses, and assessing weight distributions and covariate balance. Additional functions fit weighted pooled discrete-time outcome models, obtain standardized risks and treatment contrasts, and estimate weighted Kaplan-Meier and Aalen-Johansen curves. Two worked examples based on fully synthetic data illustrate an active-comparator new-user study comparing sodium-glucose cotransporter 2 inhibitors with dipeptidyl peptidase-4 inhibitors and an analysis of sequentially nested trials comparing angiotensin receptor blocker and calcium channel blocker strategies. URL: https://github.com/nomahi/TTE/ Depends: R (>= 4.1.0) Imports: graphics, nnet, sandwich, stats, utils Suggests: testthat (>= 3.0.0) License: GPL-3 Encoding: UTF-8 Config/testthat/edition: 3 NeedsCompilation: no Packaged: 2026-09-27 11:21:03 UTC; root Author: Hisashi Noma [aut, cre] (ORCID: ) Repository: https://nomahi.r-universe.dev Date/Publication: 2026-08-28 18:51:25 UTC RemoteUrl: https://github.com/cran/TTE RemoteRef: HEAD RemoteSha: 9718d1455f9ccdb99471d9cf0607f0f61d1fba63