{
  "_id": "6ab8fcd099f7aa8c6aa39567",
  "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\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2520-9949\")))",
  "Maintainer": "Hisashi Noma <noma@ism.ac.jp>",
  "Description": "Design and analysis tools for target trial emulation using\nlongitudinal observational data. Functions are provided for\nchecking person-period data, expanding longitudinal data into\nsequentially nested trials, estimating inverse probability\nweights for intention-to-treat and per-protocol analyses, and\nassessing weight distributions and covariate balance.\nAdditional functions fit weighted pooled discrete-time outcome\nmodels, obtain standardized risks and treatment contrasts, and\nestimate weighted Kaplan-Meier and Aalen-Johansen curves. Two\nworked examples based on fully synthetic data illustrate an\nactive-comparator new-user study comparing sodium-glucose\ncotransporter 2 inhibitors with dipeptidyl peptidase-4\ninhibitors and an analysis of sequentially nested trials\ncomparing angiotensin receptor blocker and calcium channel\nblocker strategies.",
  "URL": "https://github.com/nomahi/TTE/",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-27 11:21:03 UTC",
    "User": "root"
  },
  "Author": "Hisashi Noma [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2520-9949>)",
  "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",
  "_user": "nomahi",
  "_type": "src",
  "_file": "TTE_1.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/b9dfa2e4d3c7e828e6accbb86aab47a36dc784daffd6c0d9a92002e9a2e26e00",
  "_filesize": 2526335,
  "_sha256": "b9dfa2e4d3c7e828e6accbb86aab47a36dc784daffd6c0d9a92002e9a2e26e00",
  "_expires": "2027-01-05T11:23:58.000Z",
  "_created": "2026-09-27T11:21:03.000Z",
  "_published": "2026-09-27T11:24:00.133Z",
  "_jobs": [
    {
      "job": 108609211572,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10929934650"
    },
    {
      "job": 108609211674,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10929864873"
    },
    {
      "job": 108609211675,
      "time": 98,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "10930462030"
    },
    {
      "job": 108609211667,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10930084138"
    },
    {
      "job": 108608653434,
      "time": 226,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10930766835"
    },
    {
      "job": 108609211615,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10929894681"
    },
    {
      "job": 108609211650,
      "time": 65,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "10930950635"
    },
    {
      "job": 108609211671,
      "time": 61,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "10930920743"
    },
    {
      "job": 108609211664,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "10930890974"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/nomahi/actions/runs/36315242611",
  "_status": "success",
  "_upstream": "https://github.com/cran/TTE",
  "_commit": {
    "id": "9718d1455f9ccdb99471d9cf0607f0f61d1fba63",
    "author": "Hisashi Noma <noma@ism.ac.jp>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.2\n",
    "time": 1787943085
  },
  "_maintainer": {
    "name": "Hisashi Noma",
    "email": "noma@ism.ac.jp",
    "login": "nomahi",
    "orcid": "0000-0002-2520-9949",
    "description": "Hisashi Noma,\nProfessor of Biostatistics, The Institute of Statistical Mathematics, Tokyo, Japan.",
    "uuid": 63063772
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "nnet",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-31",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.1",
      "date": "2026-08-02"
    },
    {
      "name": "1.1.2",
      "date": "2026-08-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "nomahi",
      "count": 2,
      "uuid": 63063772
    }
  ],
  "_userbio": {
    "uuid": 63063772,
    "type": "user",
    "name": "Hisashi Noma",
    "followers": 8,
    "description": "Hisashi Noma,\r\nProfessor of Biostatistics, The Institute of Statistical Mathematics, Tokyo, Japan."
  },
  "_downloads": {
    "count": 285,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TTE"
  },
  "_devurl": "https://github.com/nomahi/tte",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/TTE.html"
  ],
  "_realowner": "nomahi",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.1.1",
      "date": "2026-08-02"
    },
    {
      "version": "1.1.2",
      "date": "2026-08-28"
    }
  ],
  "_exports": [
    "balance_wt",
    "boot_tte",
    "check_tte",
    "combine_wt",
    "curve_tte",
    "diagnose_wt",
    "discsurvreg",
    "est_wt",
    "seqdesign_tte",
    "std_tte"
  ],
  "_datasets": [
    {
      "name": "ARB",
      "title": "Synthetic ARB versus CCB Sequential-Trial Example",
      "object": "ARB",
      "file": "ARB.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "trial",
        "time",
        "A",
        "treatment",
        "Y_hf",
        "Y_death",
        "event_code",
        "stay_ltfu",
        "stay_adherent",
        "pp_at_risk",
        "w_iptw",
        "w_itt",
        "w_pp",
        "age",
        "female",
        "bmi",
        "sbp",
        "dbp",
        "egfr",
        "proteinuria",
        "diabetes",
        "prior_heart_failure",
        "prior_stroke",
        "trial_period"
      ],
      "rows": 24063,
      "table": true,
      "tojson": true
    },
    {
      "name": "ARB_baseline",
      "title": "Synthetic ARB versus CCB Sequential-Trial Example",
      "object": "ARB_baseline",
      "file": "ARB_baseline.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "trial",
        "A",
        "treatment",
        "age",
        "female",
        "bmi",
        "sbp",
        "dbp",
        "egfr",
        "proteinuria",
        "diabetes",
        "prior_heart_failure",
        "prior_stroke",
        "trial_period",
        "ps_oracle",
        "w_iptw"
      ],
      "rows": 900,
      "table": true,
      "tojson": true
    },
    {
      "name": "SGLT2",
      "title": "Synthetic SGLT2i versus DPP-4i Target-Trial Example",
      "object": "SGLT2",
      "file": "SGLT2.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "trial",
        "time",
        "A",
        "treatment",
        "Y_death",
        "event_code",
        "stay_ltfu",
        "stay_adherent",
        "pp_at_risk",
        "w_iptw",
        "w_itt",
        "w_pp",
        "age",
        "female",
        "bmi",
        "hba1c",
        "egfr",
        "proteinuria",
        "prior_heart_failure",
        "prior_stroke",
        "recent_hospitalization",
        "trial_period"
      ],
      "rows": 20257,
      "table": true,
      "tojson": true
    },
    {
      "name": "SGLT2_baseline",
      "title": "Synthetic SGLT2i versus DPP-4i Target-Trial Example",
      "object": "SGLT2_baseline",
      "file": "SGLT2_baseline.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "trial",
        "A",
        "treatment",
        "age",
        "female",
        "bmi",
        "hba1c",
        "egfr",
        "proteinuria",
        "prior_heart_failure",
        "prior_stroke",
        "recent_hospitalization",
        "trial_period",
        "ps_oracle",
        "w_iptw"
      ],
      "rows": 700,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "TTE-package",
      "title": "Design and Analysis Tools for Target Trial Emulation",
      "topics": [
        "TTE-package",
        "TTE"
      ]
    },
    {
      "page": "ARB",
      "title": "Synthetic ARB versus CCB Sequential-Trial Example",
      "topics": [
        "ARB",
        "ARB_baseline"
      ]
    },
    {
      "page": "balance_wt",
      "title": "Assess Covariate Balance Before and After Weighting",
      "topics": [
        "balance_wt"
      ]
    },
    {
      "page": "boot_tte",
      "title": "Individual-Cluster Bootstrap",
      "topics": [
        "boot_tte"
      ]
    },
    {
      "page": "check_tte",
      "title": "Check a Target-Trial Person-Period Dataset",
      "topics": [
        "check_tte"
      ]
    },
    {
      "page": "combine_wt",
      "title": "Combine Inverse Probability Weight Components",
      "topics": [
        "combine_wt"
      ]
    },
    {
      "page": "curve_tte",
      "title": "Estimate Weighted Kaplan-Meier or Aalen-Johansen Curves",
      "topics": [
        "curve_tte"
      ]
    },
    {
      "page": "diagnose_wt",
      "title": "Diagnose Inverse Probability Weights",
      "topics": [
        "diagnose_wt"
      ]
    },
    {
      "page": "discsurvreg",
      "title": "Fit a Weighted Pooled Discrete-Time Outcome Model",
      "topics": [
        "discsurvreg"
      ]
    },
    {
      "page": "est_wt",
      "title": "Estimate Inverse Probability Weights",
      "topics": [
        "est_wt"
      ]
    },
    {
      "page": "seqdesign_tte",
      "title": "Expand Longitudinal Data into Sequentially Nested Trials",
      "topics": [
        "seqdesign_tte"
      ]
    },
    {
      "page": "SGLT2",
      "title": "Synthetic SGLT2i versus DPP-4i Target-Trial Example",
      "topics": [
        "SGLT2",
        "SGLT2_baseline"
      ]
    },
    {
      "page": "std_tte",
      "title": "Standardize a Discrete-Time Model to Marginal Risks",
      "topics": [
        "std_tte"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "nnet",
    "sandwich",
    "zoo"
  ],
  "_score": 1.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "tte",
  "_universes": [
    "nomahi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-09-27T11:23:08.000Z",
      "distro": "resolute",
      "commit": "9718d1455f9ccdb99471d9cf0607f0f61d1fba63",
      "fileid": "https://r2.ropensci.org/913ca59b2727dd8fdb2aa93b8d337f913b46c158ea4969e5b1747a88a2141582",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nomahi/actions/runs/36315242611"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-09-27T11:23:14.000Z",
      "distro": "resolute",
      "commit": "9718d1455f9ccdb99471d9cf0607f0f61d1fba63",
      "fileid": "https://r2.ropensci.org/23b8e9f22e4d5b2f25e2c2c6f65135c9af2a5a4af724e05dba96f094bc70f3df",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nomahi/actions/runs/36315242611"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-09-27T11:22:51.000Z",
      "commit": "9718d1455f9ccdb99471d9cf0607f0f61d1fba63",
      "fileid": "https://r2.ropensci.org/eae34cbbc2e21dc9698a603f1a89b88aa7876cb5bfb353805976136c125f9ab0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nomahi/actions/runs/36315242611"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-09-27T11:22:41.000Z",
      "commit": "9718d1455f9ccdb99471d9cf0607f0f61d1fba63",
      "fileid": "https://r2.ropensci.org/83d5120e8a9f0ba6477ceddcc2f8f364868da3169701a57706d8c8cba645452c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nomahi/actions/runs/36315242611"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-09-27T11:23:13.000Z",
      "commit": "9718d1455f9ccdb99471d9cf0607f0f61d1fba63",
      "fileid": "https://r2.ropensci.org/c9fcc4e6849b5f03f6e4b8b858c18851d747daa868a3a96223bf39640be6bfc5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nomahi/actions/runs/36315242611"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-09-27T11:22:02.000Z",
      "commit": "9718d1455f9ccdb99471d9cf0607f0f61d1fba63",
      "fileid": "https://r2.ropensci.org/76efed9f6306720a550bad73dc6f6d4de5e301600380ff3d402738a10f9e92d3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nomahi/actions/runs/36315242611"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-09-27T11:22:01.000Z",
      "commit": "9718d1455f9ccdb99471d9cf0607f0f61d1fba63",
      "fileid": "https://r2.ropensci.org/361a1650f5c0c43539667147659a4108ef3ea7fe4603cd676d2d5760d1bf07f7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nomahi/actions/runs/36315242611"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-09-27T11:22:05.000Z",
      "commit": "9718d1455f9ccdb99471d9cf0607f0f61d1fba63",
      "fileid": "https://r2.ropensci.org/13cf4ae7e3c0b8fead1cc38d70af1f31bbe36018d296783774ec871c2a3f0329",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/nomahi/actions/runs/36315242611"
    }
  ]
}