{
  "_id": "6a2540984b233be198399c68",
  "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-06-07 09:52:16 UTC",
    "User": "root"
  },
  "Author": "Lingfeng Luo [aut, cre],\nWenbo Wu [aut],\nKevin He [aut]",
  "Maintainer": "Lingfeng Luo <lfluo@umich.edu>",
  "MD5sum": "81926e99ef65b6d67b8e5199040871ac",
  "_user": "um-kevinhe",
  "_type": "src",
  "_file": "surtvep_1.0.0.tar.gz",
  "_fileid": "48b70a651ce4be89fc19e39b465cdc77062aa682b64c45c05cb1aa22e1c3855e",
  "_filesize": 580361,
  "_sha256": "48b70a651ce4be89fc19e39b465cdc77062aa682b64c45c05cb1aa22e1c3855e",
  "_created": "2026-06-07T09:52:16.000Z",
  "_published": "2026-06-07T09:57:44.580Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79949356681,
      "time": 179,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7463015868"
    },
    {
      "job": 79949356640,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7463016908"
    },
    {
      "job": 79949356676,
      "time": 180,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7463016003"
    },
    {
      "job": 79949356661,
      "time": 193,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7463017143"
    },
    {
      "job": 79949356685,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7463013787"
    },
    {
      "job": 79949356684,
      "time": 249,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7463023307"
    },
    {
      "job": 79949356673,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7463008704"
    },
    {
      "job": 79949356682,
      "time": 272,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7463025823"
    },
    {
      "job": 79949152601,
      "time": 209,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7462995428"
    },
    {
      "job": 79949356628,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7463011100"
    },
    {
      "job": 79949356649,
      "time": 180,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7463015597"
    },
    {
      "job": 79949356641,
      "time": 164,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7463013947"
    },
    {
      "job": 79949356647,
      "time": 172,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7463014735"
    }
  ],
  "_buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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"
  },
  "_downloads": {
    "count": 132,
    "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": 6,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/surtvep.html",
    "manual.pdf"
  ],
  "_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",
    "microbenchmark",
    "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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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-06-07T09:55:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "a61297d2d832c06b7820b714fdb803360140f1e4fc9880eb0ef467d6cfb1e967",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-07T09:55:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "587753a49fdcc6e8ce788acfe29e91ec123056491957a58b474168196d3d4113",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-07T09:55:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "311c8d7dbee07a3c18945e463e00b3c6018debe5997831d95b85f44ab04dc198",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-07T09:55:06.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "c760be1d50c840dd061d02f550d9b19682c5dd507ff89b5b7390dd80fad96bd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-07T09:54:48.000Z",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "18be2a7d3ac16839a5ec77e9d65b5dfb612eeabcca1c1e7470b4886b2b41a198",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-07T09:55:28.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "a934584daafcb97a4e02227117dbacd0ab34d188d619d362e25f88d8904e2d01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-07T09:54:12.000Z",
      "arch": "aarch64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "5cfc831fc4ffdb5489c34a186302605bd117e11f4305d6f2933359c9870c289b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-07T09:55:51.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "8a74acec353c915060453840e5cb0d7f227b4a9071850c0ecd486c4a72bfd307",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-07T09:55:03.000Z",
      "arch": "emscripten",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "411a0dde22b3743bd5e80b7a8005487e8a971db493ad54485e09de98b4a3c3c2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-07T09:54:03.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "4a4cba5a90dbef3b45f378e44963ec880a9c64f1c7295b14804da9539ee484a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-07T09:54:11.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "5a13344b72c69bffdedd1d390cd47667a3137cc35b694d792eca8263fc786430",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-07T09:53:54.000Z",
      "arch": "x86_64",
      "commit": "c70e2af175362d04ac22275803ef85eda22155c9",
      "fileid": "83a5d6816c5cce936ec6457619fe283e478146ea8d06615020b07fccfc2d1770",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/um-kevinhe/actions/runs/27089080516"
    }
  ]
}