{
  "_id": "6a197e5eacfb0bcc41df7690",
  "Package": "tfCox",
  "Type": "Package",
  "Title": "Fits Piecewise Polynomial with Data-Adaptive Knots in Cox Model",
  "Version": "0.1.0",
  "Date": "2019-07-29",
  "Authors@R": "c(person(\"Jiacheng\",\"Wu\",email=\"wujiacheng1992@gmail.com\", role=c(\"aut\",\"cre\")), person(\"Daniela\",\"Witten\",role=c(\"aut\")), person(\"Taylor\",\"Arnold\",role=c(\"ctb\")), person(\"Veeranjaneyulu\", \"Sadhanala\", role=c(\"ctb\")), person(\"Ryan\", \"Tibshirani\", role=c(\"ctb\")))",
  "Description": "In Cox's proportional hazard model, covariates are modeled\nas linear function and may not be flexible. This package\nimplements additive trend filtering Cox proportional hazards\nmodel as proposed in Jiacheng Wu & Daniela Witten (2019)\n\"Flexible and Interpretable Models for Survival Data\", Journal\nof Computational and Graphical Statistics,\n<DOI:10.1080/10618600.2019.1592758>. The fitted functions are\npiecewise polynomial with adaptively chosen knots.",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "yes",
  "Author": "Jiacheng Wu [aut, cre], Daniela Witten [aut], Taylor Arnold\n[ctb], Veeranjaneyulu Sadhanala [ctb], Ryan Tibshirani [ctb]",
  "Maintainer": "Jiacheng Wu <wujiacheng1992@gmail.com>",
  "Packaged": {
    "Date": "2026-05-29 11:20:37 UTC",
    "User": "root"
  },
  "Repository": "https://wujiacheng.r-universe.dev",
  "Date/Publication": "2019-08-01 10:50:03 UTC",
  "RemoteUrl": "https://github.com/cran/tfCox",
  "RemoteRef": "HEAD",
  "RemoteSha": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
  "MD5sum": "c584b75ebe3f1122676a96b294a94331",
  "_user": "wujiacheng",
  "_type": "src",
  "_file": "tfCox_0.1.0.tar.gz",
  "_fileid": "b422f71cd28c3bd87267d79a6b74a04474a79e57f02f9172778d399bc87f82c6",
  "_filesize": 255573,
  "_sha256": "b422f71cd28c3bd87267d79a6b74a04474a79e57f02f9172778d399bc87f82c6",
  "_created": "2026-05-29T11:20:37.000Z",
  "_published": "2026-05-29T11:54:06.026Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78490783522,
      "time": 124,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7289500227"
    },
    {
      "job": 78490783535,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7289504314"
    },
    {
      "job": 78490783485,
      "time": 111,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289496368"
    },
    {
      "job": 78490783566,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289499780"
    },
    {
      "job": 78490783490,
      "time": 84,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7290016482"
    },
    {
      "job": 78490783608,
      "time": 325,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7289547438"
    },
    {
      "job": 78490783577,
      "time": 100,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7290024358"
    },
    {
      "job": 78490783609,
      "time": 239,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289526049"
    },
    {
      "job": 78490269891,
      "time": 213,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289463641"
    },
    {
      "job": 78490783435,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289494695"
    },
    {
      "job": 78490783541,
      "time": 125,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7289500418"
    },
    {
      "job": 78490783493,
      "time": 206,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7289524188"
    },
    {
      "job": 78490783517,
      "time": 114,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289497778"
    }
  ],
  "_buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/tfCox",
  "_commit": {
    "id": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
    "author": "Jiacheng Wu <wujiacheng1992@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1564656603
  },
  "_maintainer": {
    "name": "Jiacheng Wu",
    "email": "wujiacheng1992@gmail.com",
    "login": "wujiacheng",
    "description": "",
    "uuid": 8188522
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.14",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "wujiacheng",
      "count": 1,
      "uuid": 8188522
    }
  ],
  "_userbio": {
    "uuid": 8188522,
    "type": "user",
    "name": "WuJiacheng"
  },
  "_downloads": {
    "count": 163,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tfCox"
  },
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/tfCox.html",
    "manual.pdf"
  ],
  "_realowner": "wujiacheng",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-08-01"
    }
  ],
  "_exports": [
    "cv_tfCox",
    "negloglik",
    "plot.cv_tfCox",
    "plot.sim_dat",
    "plot.tfCox",
    "predict_best_lambda",
    "predict.tfCox",
    "sim_dat",
    "summary.cv_tfCox",
    "summary.tfCox",
    "tfCox",
    "tfCox_choose_lambda"
  ],
  "_help": [
    {
      "page": "tfCox-package",
      "title": "Fit the Additive Trend Filtering Cox Model",
      "topics": [
        "tfCox-package"
      ]
    },
    {
      "page": "cv_tfCox",
      "title": "Fit Trend Filtering Cox model and Choose Tuning Parameter via K-Fold Cross-Validation",
      "topics": [
        "cv_tfCox"
      ]
    },
    {
      "page": "negloglik",
      "title": "Calculate the negative log likelihood from Cox model.",
      "topics": [
        "negloglik"
      ]
    },
    {
      "page": "plot.cv_tfCox",
      "title": "Plots Cross-Validation Curve for Object of Class \"cv_tfCox\"",
      "topics": [
        "plot.cv_tfCox"
      ]
    },
    {
      "page": "plot.sim_dat",
      "title": "Plot the true covariate effects",
      "topics": [
        "plot.sim_dat"
      ]
    },
    {
      "page": "plot.tfCox",
      "title": "Plot Fitted Functions from Class \"tfCox\"",
      "topics": [
        "plot.tfCox"
      ]
    },
    {
      "page": "predict_best_lambda",
      "title": "Predict from the optimal lambda from tfCox_choose_lambda",
      "topics": [
        "predict_best_lambda"
      ]
    },
    {
      "page": "predict.tfCox",
      "title": "Predict for a New Covariate Matrix and fit from 'tfCox'",
      "topics": [
        "predict.tfCox"
      ]
    },
    {
      "page": "sim_dat",
      "title": "Simulate Data from a Variety of Functional Scenarios",
      "topics": [
        "sim_dat"
      ]
    },
    {
      "page": "summary.cv_tfCox",
      "title": "Summarize 'cv_tfCox' object",
      "topics": [
        "summary.cv_tfCox"
      ]
    },
    {
      "page": "summary.tfCox",
      "title": "Summarize 'tfCox' object",
      "topics": [
        "summary.tfCox"
      ]
    },
    {
      "page": "tfCox",
      "title": "Fit the additive trend filtering Cox model with a range of tuning parameters",
      "topics": [
        "tfCox"
      ]
    },
    {
      "page": "tfCox_choose_lambda",
      "title": "Choose the tuning parameter lambda using training and testing dataset",
      "topics": [
        "tfCox_choose_lambda"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "Matrix",
    "Rcpp",
    "survival"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "tfcox",
  "_universes": [
    "wujiacheng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-29T11:22:48.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "165e209a07a1081f7031af98ccb0401626137d1044047953f11d18f712978840",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-29T11:23:00.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "5218abaf017d4e679aad2b6196aea24d1f169ae09a41e6ce12fcd20ca21d41e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-29T11:22:36.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "ec1408390e53067a258e97c4aa93d216837208994d02d1e0dea187759016ab0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-29T11:22:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "6ce24a2768fb616d5e40e477b737ff22ad564fc8523c40ae29cfb94f7ac941eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-29T11:53:04.000Z",
      "arch": "aarch64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "46caaaaa4986758a55ed6b768e250bab0c3f0f3fd5fde36f29c346e3167b4401",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-29T11:25:00.000Z",
      "arch": "x86_64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "4dc3e154d86322c0db28c294c96dbda793297f50d265a7098acc48eefe56d331",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-29T11:53:25.000Z",
      "arch": "aarch64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "3067932dff88b062d9747a7430f83cf4c286fec6d13c0fabd81bad5cde7f4c9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-29T11:23:58.000Z",
      "arch": "x86_64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "bf6b00dd65d83cd36fd18256037968a3c2cd9fe077528a62b84c7fc1d7cefd98",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-29T11:22:39.000Z",
      "arch": "emscripten",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "9c4258be1230dd18508339a616c87661540a87c90f3081b6d942dcf0c4858c56",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-29T11:22:02.000Z",
      "arch": "x86_64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "b04cda51b25ecfa1f9053764b7f4982f541dae1e37a79243818d554bfa2e573a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-29T11:22:54.000Z",
      "arch": "x86_64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "caef309286a2165b6ba32707cfcd904a022f587a63d17e2a49e241467b390f73",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-29T11:21:51.000Z",
      "arch": "x86_64",
      "commit": "2ee11a883a8dc39e4b1dfd6988fc5dd014e650fe",
      "fileid": "33362d06e1bccb2f850f816b7424cd627aa48371fb6410a2e8564377e307e585",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wujiacheng/actions/runs/26634198527"
    }
  ]
}