{
  "_id": "6ac8e153de46216d5edd8c00",
  "Package": "surtvep",
  "Title": "Cox Non-Proportional Hazards Model with Time-Varying\nCoefficients",
  "Version": "1.0.0",
  "URL": "https://github.com/UM-KevinHe/surtvep,\nhttps://um-kevinhe.github.io/surtvep/",
  "BugReports": "https://github.com/UM-KevinHe/surtvep/issues",
  "Authors@R": "c(\nperson(\"Lingfeng\",\"Luo\",role=c(\"aut\",\"cre\"),email=\"lfluo@umich.edu\"),\nperson(\"Wenbo\",\"Wu\",role=c(\"aut\"),email=\"wenbowu@umich.edu\"),\nperson(\"Kevin\",\"He\",role=c(\"aut\"),email=\"kevinhe@umich.edu\")\n)",
  "Description": "Fit Cox non-proportional hazards models with time-varying\ncoefficients. Both unpenalized procedures (Newton and proximal\nNewton) and penalized procedures (P-splines and smoothing\nsplines) are included using B-spline basis functions for\nestimating time-varying coefficients. For penalized procedures,\ncross validations, mAIC, TIC or GIC are implemented to select\ntuning parameters. Utilities for carrying out post-estimation\nvisualization, summarization, point-wise confidence interval\nand hypothesis testing are also provided. For more information,\nsee Wu et al. (2022) <doi: 10.1007/s10985-021-09544-2> and Luo\net al. (2023) <doi:10.1177/09622802231181471>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://um-kevinhe.r-universe.dev",
  "Date/Publication": "2025-12-09 02:49:27 UTC",
  "RemoteUrl": "https://github.com/um-kevinhe/surtvep",
  "RemoteRef": "HEAD",
  "RemoteSha": "c70e2af175362d04ac22275803ef85eda22155c9",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-09 12:36:23 UTC",
    "User": "root"
  },
  "Author": "Lingfeng Luo [aut, cre],\nWenbo Wu [aut],\nKevin He [aut]",
  "Maintainer": "Lingfeng Luo <lfluo@umich.edu>",
  "_user": "um-kevinhe",
  "_type": "src",
  "_file": "surtvep_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/050b464a2473300a9efafb62d85c395a8a249af889a91ff498ee63916af5b284",
  "_filesize": 581036,
  "_sha256": "050b464a2473300a9efafb62d85c395a8a249af889a91ff498ee63916af5b284",
  "_expires": "2027-01-17T12:42:57.000Z",
  "_created": "2026-10-09T12:36:23.000Z",
  "_published": "2026-10-09T12:42:58.951Z",
  "_buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113822185145,
      "time": 191,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11616725856"
    },
    {
      "job": 113822184917,
      "time": 187,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11616955457"
    },
    {
      "job": 113822184957,
      "time": 142,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11617105041"
    },
    {
      "job": 113822184951,
      "time": 188,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11617210047"
    },
    {
      "job": 113822185029,
      "time": 153,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11616241182"
    },
    {
      "job": 113822185060,
      "time": 322,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11616897024"
    },
    {
      "job": 113822185169,
      "time": 168,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11616196890"
    },
    {
      "job": 113822185008,
      "time": 284,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11616356960"
    },
    {
      "job": 113820814879,
      "time": 220,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11616710389"
    },
    {
      "job": 113822184746,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11616730757"
    },
    {
      "job": 113822185144,
      "time": 232,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11616646388"
    },
    {
      "job": 113822185125,
      "time": 164,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11616685759"
    },
    {
      "job": 113822185068,
      "time": 114,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11616845535"
    },
    {
      "job": 113822184976,
      "time": 242,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11616023684"
    },
    {
      "job": 113822185038,
      "time": 177,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11617045278"
    }
  ],
  "_upstream": "https://github.com/um-kevinhe/surtvep",
  "_commit": {
    "id": "c70e2af175362d04ac22275803ef85eda22155c9",
    "author": "LingfengLuo0510 <44854842+LingfengLuo0510@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1765248567
  },
  "_maintainer": {
    "name": "Lingfeng Luo",
    "email": "lfluo@umich.edu",
    "login": "lingfengluo0510",
    "description": "",
    "uuid": 44854842
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "um-kevinhe",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "lingfengluo0510",
      "count": 136,
      "uuid": 44854842
    },
    {
      "user": "xuetao666",
      "count": 57,
      "uuid": 93995789
    },
    {
      "user": "mkleinsa",
      "count": 2,
      "uuid": 39565600
    }
  ],
  "_userbio": {
    "uuid": 67330286,
    "type": "organization",
    "name": "UM-KevinHe",
    "followers": 4
  },
  "_downloads": {
    "count": 254,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/surtvep"
  },
  "_devurl": "https://github.com/um-kevinhe/surtvep",
  "_pkgdown": "https://um-kevinhe.github.io/surtvep/",
  "_searchresults": 3,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/surtvep.html"
  ],
  "_homeurl": "https://github.com/um-kevinhe/surtvep",
  "_realowner": "um-kevinhe",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-10-17"
    }
  ],
  "_exports": [
    "baseline",
    "coxtp",
    "coxtv",
    "cv.coxtp",
    "get.tvcoef",
    "IC",
    "tvef.ph",
    "tvef.zero",
    "tvef.zero.time"
  ],
  "_datasets": [
    {
      "name": "ExampleData",
      "title": "example data with 2000 observations of 2 continuous variables",
      "object": "ExampleData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "ExampleDataBinary",
      "title": "example data with 2000 observations of 2 binary variables",
      "object": "ExampleDataBinary",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "StrataExample",
      "title": "example data for stratified model illustration",
      "object": "StrataExample",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "support",
      "title": "Study to Understand Prognoses Preferences Outcomes and Risks of Treatment",
      "object": "support",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "death",
        "sex",
        "slos",
        "d.time",
        "dzgroup",
        "dzclass",
        "num.co",
        "edu",
        "scoma",
        "avtisst",
        "race",
        "hday",
        "diabetes",
        "dementia",
        "ca",
        "meanbp",
        "wblc",
        "hrt",
        "resp",
        "temp",
        "pafi",
        "alb",
        "bili",
        "crea",
        "sod",
        "ph",
        "glucose",
        "bun",
        "urine",
        "adlp",
        "adlsc",
        "sps",
        "aps"
      ],
      "rows": 9104,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "baseline",
      "title": "calculating baseline hazard and baseline cumulative hazard using the result from a 'coxtv' or 'coxtp' object",
      "topics": [
        "baseline"
      ]
    },
    {
      "page": "confint.coxtv",
      "title": "get confidence intervals of time-varying coefficients from a fitted object",
      "topics": [
        "confint.coxtp",
        "confint.coxtv"
      ]
    },
    {
      "page": "coxtp",
      "title": "fit a Cox non-proportional hazards model with P-spline or Smoothing-spline, with penalization tuning parameter chosen by information criteria or cross-validation",
      "topics": [
        "coxtp"
      ]
    },
    {
      "page": "coxtv",
      "title": "fit a Cox non-proportional hazards model",
      "topics": [
        "coxtv"
      ]
    },
    {
      "page": "cv.coxtp",
      "title": "fit a cross-validated Cox non-proportional hazards model with P-spline or Smoothing-spline where penalization tuning parameter is provided by cross-validation",
      "topics": [
        "cv.coxtp"
      ]
    },
    {
      "page": "ExampleData",
      "title": "example data with 2000 observations of 2 continuous variables",
      "topics": [
        "ExampleData"
      ]
    },
    {
      "page": "ExampleDataBinary",
      "title": "example data with 2000 observations of 2 binary variables",
      "topics": [
        "ExampleDataBinary"
      ]
    },
    {
      "page": "get.tvcoef",
      "title": "helper function to get time-varying coefficients",
      "topics": [
        "get.tvcoef"
      ]
    },
    {
      "page": "IC",
      "title": "calculating information criteria from a 'coxtp' object",
      "topics": [
        "IC"
      ]
    },
    {
      "page": "plot.baseline",
      "title": "plotting the baseline hazard",
      "topics": [
        "plot.baseline"
      ]
    },
    {
      "page": "plot.coxtp",
      "title": "plotting results from a fitted 'coxtp' object",
      "topics": [
        "plot.coxtp"
      ]
    },
    {
      "page": "plot.coxtv",
      "title": "plotting results from a fitted 'coxtv' object",
      "topics": [
        "plot.coxtv"
      ]
    },
    {
      "page": "StrataExample",
      "title": "example data for stratified model illustration",
      "topics": [
        "StrataExample"
      ]
    },
    {
      "page": "support",
      "title": "Study to Understand Prognoses Preferences Outcomes and Risks of Treatment",
      "topics": [
        "support"
      ]
    },
    {
      "page": "tvef.ph",
      "title": "testing the proportional hazards assumption from a 'coxtv' or 'coxtp' object",
      "topics": [
        "tvef.ph"
      ]
    },
    {
      "page": "tvef.zero",
      "title": "testing the significance of the covariates from a 'coxtv' or 'coxtp' object",
      "topics": [
        "tvef.zero"
      ]
    },
    {
      "page": "tvef.zero.time",
      "title": "testing the significance of the covariates from a 'coxtv' or 'coxtp' object using a Wald test statistic",
      "topics": [
        "tvef.zero.time"
      ]
    }
  ],
  "_readme": "https://github.com/um-kevinhe/surtvep/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "surtvep",
  "_universes": [
    "um-kevinhe",
    "lingfengluo0510"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-09T12:39:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/959b78ba5dc46948c586fde06645d7667800ebdfcb3a3af7166812e590847c98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-09T12:39:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/4a692c3aa83adc58baa50ebf41e17d12ecebae032b375d2d1fdae7eaae15c899",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-09T12:38:46.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/5627f345c1997e3c0224ed39021e41ceecd65ad5b636dba8071dde2f1fd653c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-09T12:39:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/62f979cbeb6e54c2281efe34659772d664d0b41c3746bdbb9d0844fe6e083b44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-09T12:38:54.000Z",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/e4018a0cff976b2134d2d9ecce5aededdeeceb7793fc940e93830132a228125a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-09T12:40:28.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/d491df0fecd4d2ea93e387e1dc5bb1d4ab48d25d1fba9c90479f09491fc7aed6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-09T12:39:04.000Z",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/48abd4347c9326aaaa7fd133050b540122a13d79cc930afc8773cc0a43d07acd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-09T12:40:01.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/54b05b664d135b989523a82e29661254084e0a6a44250ee103c8860667996fc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-09T12:39:14.000Z",
      "arch": "emscripten",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/65cd4e27d5535da353cd681044a07c375d09679f22b795c70500f19a795bce95",
      "status": "success",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-09T12:39:54.000Z",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/9ddb590bb712713e14873cef4f1cd9f12b1ea88a0d8ad4529eef2d5653e2052a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-09T12:38:25.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/d7d441b245447d87d72036d3f56ec41ca74c8fe370db003606b019fce1ce2f30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-09T12:37:58.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/1a032ef41700c311ef58c04466fa4a18ffa62a5a051c00baca328a65ed0b7103",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-09T12:40:00.000Z",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/21f7902937596914c6cea89ebfb04bd304dfa88a00f285fe22ad2952e8c1edc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-09T12:38:08.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "https://r2.ropensci.org/35f320d0aa6a7d25a124f49c44e3b0e0ba7f348a2872b45281ef231e349549fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/37930792716"
    }
  ]
}