{
  "_id": "6ae1def9327abcdf86864ba0",
  "Package": "TTM",
  "Type": "Package",
  "Title": "Terminal Trend Models on the Retrospective Time Scale",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(given = \"Tingchang\",\nfamily = \"Wang\",\nrole = \"aut\",\nemail = \"twang5@ufl.edu\"),\nperson(given = \"Zhigang\",\nfamily = \"Li\",\nrole = c(\"aut\", \"cre\"),\nemail = \"zhigang.li@ufl.edu\")\n)",
  "Description": "Fits retrospective-time longitudinal models for terminal\ntrend analysis using weighted generalized estimating equations\nand related joint modeling tools. The package provides\nfunctions to estimate spline-based baseline and treatment\neffect trajectories on the retrospective time scale, obtain\npointwise confidence intervals, and visualize fitted\ntrajectories.",
  "License": "GPL-2",
  "URL": "https://github.com/TChang-W/TTM",
  "BugReports": "https://github.com/TChang-W/TTM/issues",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://tchang-w.r-universe.dev",
  "Date/Publication": "2026-10-16 20:16:48 UTC",
  "RemoteUrl": "https://github.com/tchang-w/ttm",
  "RemoteRef": "HEAD",
  "RemoteSha": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-28 11:34:57 UTC",
    "User": "root"
  },
  "Author": "Tingchang Wang [aut],\nZhigang Li [aut, cre]",
  "Maintainer": "Zhigang Li <zhigang.li@ufl.edu>",
  "_user": "tchang-w",
  "_type": "src",
  "_file": "TTM_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/3dd6d4ae58e7685b8cdc5ecf3cdb692bfef864077aee27bf5aade906c6857b53",
  "_filesize": 842868,
  "_sha256": "3dd6d4ae58e7685b8cdc5ecf3cdb692bfef864077aee27bf5aade906c6857b53",
  "_expires": "2027-02-05T11:39:32.000Z",
  "_created": "2026-10-28T11:34:57.000Z",
  "_published": "2026-10-28T11:39:37.181Z",
  "_upstream": "https://github.com/tchang-w/ttm",
  "_status": "success",
  "_maintainer": {
    "name": "Zhigang Li",
    "email": "zhigang.li@ufl.edu"
  },
  "_jobs": [
    {
      "job": 122791807425,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12812783305"
    },
    {
      "job": 122791807414,
      "time": 190,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12812498798"
    },
    {
      "job": 122791807302,
      "time": 227,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12813216166"
    },
    {
      "job": 122791807506,
      "time": 198,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12812728336"
    },
    {
      "job": 122788717953,
      "time": 423,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12811669304"
    },
    {
      "job": 122791807511,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12812658365"
    },
    {
      "job": 122791807575,
      "time": 81,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12812847129"
    },
    {
      "job": 122791807759,
      "time": 74,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12811774089"
    },
    {
      "job": 122791807619,
      "time": 163,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12812752613"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tchang-w/actions/runs/40680172750",
  "_commit": {
    "id": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
    "author": "TChang-W <twang5@ufl.edu>",
    "committer": "TChang-W <twang5@ufl.edu>",
    "message": "Use HTML vignette output format\n",
    "time": 1792181808
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.4.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "geepack",
      "role": "Imports"
    },
    {
      "package": "geer",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "tchang-w",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-38",
      "n": 7
    },
    {
      "week": "2026-41",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "tchang-w",
      "count": 17,
      "uuid": 179626851
    },
    {
      "user": "copilot",
      "count": 5,
      "uuid": 198982749
    }
  ],
  "_userbio": {
    "uuid": 179626851,
    "type": "user",
    "name": "TChang-W",
    "followers": 0
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TTM"
  },
  "_devurl": "https://github.com/tchang-w/ttm",
  "_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/readme.html",
    "extra/readme.md",
    "extra/TTM.html"
  ],
  "_homeurl": "https://github.com/tchang-w/ttm",
  "_realowner": "tchang-w",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-27"
    }
  ],
  "_exports": [
    "get_beta_A",
    "get_beta_mu",
    "plot_beta_A",
    "plot_beta_mu",
    "RetroJM",
    "test_beta_slope",
    "TTM",
    "TTM_linear"
  ],
  "_datasets": [
    {
      "name": "Retro_data",
      "title": "Simulated retrospective joint modeling data for 'RetroJM()'",
      "object": "Retro_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "A",
        "X1",
        "X2",
        "u",
        "b_longi",
        "randomslope",
        "OS_time",
        "event",
        "death",
        "dropout",
        "death_time",
        "dropout_time",
        "censoring_time",
        "t_pros",
        "t_retro",
        "Y"
      ],
      "rows": 3586,
      "table": true,
      "tojson": true
    },
    {
      "name": "TTM_data",
      "title": "Simulated terminal trend data for 'TTM()'",
      "object": "TTM_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "A",
        "X1",
        "X2",
        "u",
        "b_longi",
        "randomslope",
        "OS_time",
        "event",
        "death",
        "dropout",
        "death_time",
        "dropout_time",
        "censoring_time",
        "t_pros",
        "t_retro",
        "Y"
      ],
      "rows": 3681,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "get_beta_A",
      "title": "Evaluate the estimated treatment effect trajectory on the retrospective time scale",
      "topics": [
        "get_beta_A"
      ]
    },
    {
      "page": "get_beta_mu",
      "title": "Get the estimated baseline retrospective trajectory with pointwise confidence intervals",
      "topics": [
        "get_beta_mu"
      ]
    },
    {
      "page": "plot_beta_A",
      "title": "Plot the estimated treatment effect trajectory on the retrospective time scale",
      "topics": [
        "plot_beta_A"
      ]
    },
    {
      "page": "plot_beta_mu",
      "title": "Plot the estimated baseline trajectory on the retrospective time scale",
      "topics": [
        "plot_beta_mu"
      ]
    },
    {
      "page": "Retro_data",
      "title": "Simulated retrospective joint modeling data for 'RetroJM()'",
      "topics": [
        "Retro_data"
      ]
    },
    {
      "page": "RetroJM",
      "title": "Fit the two-stage model for survival imputation and longitudinal analysis",
      "topics": [
        "RetroJM"
      ]
    },
    {
      "page": "test_beta_slope",
      "title": "Test for a change in slope at a knot of a linear-spline trajectory",
      "topics": [
        "test_beta_slope"
      ]
    },
    {
      "page": "TTM",
      "title": "Fit a weighted GEE terminal trend model on the retrospective time scale",
      "topics": [
        "TTM"
      ]
    },
    {
      "page": "TTM_data",
      "title": "Simulated terminal trend data for 'TTM()'",
      "topics": [
        "TTM_data"
      ]
    },
    {
      "page": "TTM_linear",
      "title": "Fit a weighted GEE terminal trend model with a linear spline basis",
      "topics": [
        "TTM_linear"
      ]
    }
  ],
  "_readme": "https://github.com/tchang-w/ttm/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "boot",
    "brglm2",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "enrichwith",
    "farver",
    "geepack",
    "geer",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nleqslv",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "statmod",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "RetroJM.Rmd",
      "filename": "RetroJM.html",
      "title": "Introduction to RetroJM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Package installation",
        "Main function: RetroJM()",
        "Arguments",
        "Examples",
        "Dataset",
        "Fitting the model",
        "Output",
        "Pooled results",
        "Baseline trajectory",
        "Extract trajectory estimates at specific time points",
        "Interpreting the trajectories",
        "Summary"
      ],
      "created": "2026-09-18 22:14:17",
      "modified": "2026-10-16 20:16:48",
      "commits": 6
    },
    {
      "source": "TTM.Rmd",
      "filename": "TTM.html",
      "title": "Introduction to TTM",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Data structure",
        "Example dataset",
        "Main fitting function: TTM()",
        "Difference between TTM() and TTM_linear()",
        "Linear-spline variant: TTM_linear()",
        "Extracting trajectory estimates",
        "Visualization",
        "Test slope difference for TTM_linear() object",
        "Summary"
      ],
      "created": "2026-09-18 22:14:17",
      "modified": "2026-10-16 20:16:48",
      "commits": 4
    }
  ],
  "_score": 4.477121254719663,
  "_indexed": true,
  "_nocasepkg": "ttm",
  "_universes": [
    "tchang-w"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-28T11:37:50.000Z",
      "distro": "resolute",
      "commit": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
      "fileid": "https://r2.ropensci.org/b06f8387141787fd7b560bcdcc71b7045f0417199d5b066345dc59e40078f033",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tchang-w/actions/runs/40680172750"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-28T11:37:55.000Z",
      "distro": "resolute",
      "commit": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
      "fileid": "https://r2.ropensci.org/bb7421898d51f26efab2351380c57bc77722373ae07416912b3932a5f915ae6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tchang-w/actions/runs/40680172750"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-28T11:38:00.000Z",
      "commit": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
      "fileid": "https://r2.ropensci.org/89699039773f639e98a2539ed79f553c3637e58305e898500a8b1345a11bd670",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tchang-w/actions/runs/40680172750"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-28T11:37:23.000Z",
      "commit": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
      "fileid": "https://r2.ropensci.org/505acdc138e443d400cf2ad4c3e3fd5d916045727de00e78aed16d15a725c3fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tchang-w/actions/runs/40680172750"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-28T11:37:43.000Z",
      "commit": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
      "fileid": "https://r2.ropensci.org/347bb9af32696baee7e16d0d72d69396ab6b4d1f00bc3c7285f895b3135cbc95",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tchang-w/actions/runs/40680172750"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-28T11:36:07.000Z",
      "commit": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
      "fileid": "https://r2.ropensci.org/baa7653fdfbabf9549a398cbcab4c1ed3b1e61c1b220a6501ad4e13dea808302",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tchang-w/actions/runs/40680172750"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-28T11:36:05.000Z",
      "commit": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
      "fileid": "https://r2.ropensci.org/115734aaf9519ac2750b112c5dd7fe6daebb5d077487c31c48572f4468e37517",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tchang-w/actions/runs/40680172750"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-28T11:37:15.000Z",
      "commit": "c3b070d3f328f2b5ac94e9158147f37d3189c770",
      "fileid": "https://r2.ropensci.org/652e5cf8d62d0a760cd86729598e524ba935625b496d957853f6d94722ff6915",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tchang-w/actions/runs/40680172750"
    }
  ]
}