{
  "_id": "6a571f78ff0138dec5d6e05c",
  "Package": "PwePred",
  "Type": "Package",
  "Title": "Event/Timeline Prediction Model Based on Piecewise Exponential",
  "Version": "1.1.2",
  "Authors@R": "person(given = \"Tianchen\",\nfamily = \"Xu\",\nrole = c(\"aut\", \"cre\"),\nemail = \"zjph602xutianchen@gmail.com\",\ncomment = c(ORCID = \"0000-0002-0102-7630\"))",
  "Maintainer": "Tianchen Xu <zjph602xutianchen@gmail.com>",
  "Description": "Efficient algorithm for estimating piecewise exponential\nhazard models for right-censored data, and is useful for\nreliable power calculation, study design, and event/timeline\nprediction for study monitoring.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Packaged": {
    "Date": "2026-07-15 05:46:04 UTC",
    "User": "root"
  },
  "NeedsCompilation": "no",
  "Author": "Tianchen Xu [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0102-7630>)",
  "Repository": "https://zjph602xtc.r-universe.dev",
  "Date/Publication": "2026-03-26 10:15:54 UTC",
  "RemoteUrl": "https://github.com/cran/PwePred",
  "RemoteRef": "HEAD",
  "RemoteSha": "9519ccfadcaa162439f248f33c70f090469ee762",
  "_user": "zjph602xtc",
  "_type": "src",
  "_file": "PwePred_1.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/620583aa3c15df41b35688d79a4b66c73e3ed2bf4bc98d279761ccb27da8e746",
  "_filesize": 1261124,
  "_sha256": "620583aa3c15df41b35688d79a4b66c73e3ed2bf4bc98d279761ccb27da8e746",
  "_expires": "2026-10-23T05:49:42.000Z",
  "_created": "2026-07-15T05:46:04.000Z",
  "_published": "2026-07-15T05:49:44.063Z",
  "_jobs": [
    {
      "job": 87278295867,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8333766079"
    },
    {
      "job": 87278295907,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8333764743"
    },
    {
      "job": 87278295871,
      "time": 179,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8333764834"
    },
    {
      "job": 87278295873,
      "time": 164,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8333760428"
    },
    {
      "job": 87277887249,
      "time": 179,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8333717648"
    },
    {
      "job": 87278295859,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8333752246"
    },
    {
      "job": 87278295898,
      "time": 119,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8333753342"
    },
    {
      "job": 87278295903,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8333749456"
    },
    {
      "job": 87278295888,
      "time": 122,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8333754218"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/29392172478",
  "_status": "success",
  "_upstream": "https://github.com/cran/PwePred",
  "_commit": {
    "id": "9519ccfadcaa162439f248f33c70f090469ee762",
    "author": "Tianchen Xu <zjph602xutianchen@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.2\n",
    "time": 1774520154
  },
  "_maintainer": {
    "name": "Tianchen Xu",
    "email": "zjph602xutianchen@gmail.com",
    "login": "zjph602xtc",
    "linkedin": "in/tianchen-xu-54b18774",
    "description": "",
    "uuid": 17025087,
    "orcid": "0000-0002-0102-7630"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "segmented",
      "role": "Imports"
    },
    {
      "package": "fastmatch",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "doSNOW",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "RColorBrewer",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2026-03-22"
    },
    {
      "name": "1.1.1",
      "date": "2026-03-24"
    },
    {
      "name": "1.1.2",
      "date": "2026-03-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zjph602xtc",
      "count": 4,
      "uuid": 17025087
    }
  ],
  "_userbio": {
    "uuid": 17025087,
    "type": "user",
    "name": "Tianchen Xu",
    "followers": 10
  },
  "_downloads": {
    "count": 389,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PwePred"
  },
  "_searchresults": 1,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PwePred.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_realowner": "zjph602xtc",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-04-10"
    },
    {
      "version": "1.1.0",
      "date": "2026-03-22"
    },
    {
      "version": "1.1.1",
      "date": "2026-03-24"
    },
    {
      "version": "1.1.2",
      "date": "2026-03-26"
    }
  ],
  "_exports": [
    "boot.pwexpm",
    "boot.pwexpm_fit",
    "cut_dat",
    "cv.pwexpm",
    "cv.pwexpm_fit",
    "dpwexpm",
    "plot_event",
    "plot_survival",
    "ppwexpm",
    "ppwexpm_conditional",
    "predict.boot.pwexpm",
    "predict.pwexpm",
    "pwexpm",
    "pwexpm_fit",
    "qpwexpm",
    "qpwexpm_conditional",
    "rpwexpm",
    "rpwexpm_conditional",
    "sim_followup",
    "simdata"
  ],
  "_datasets": [
    {
      "name": "pwe_data",
      "title": "Piece-wise Exponentail Example Data",
      "object": "pwe_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "randT",
        "eventT",
        "dropT",
        "censor_reason",
        "event",
        "followT",
        "followT_abs"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "pwe_data_robust_tail",
      "title": "Piece-wise Exponentail Example Data with 'Abnormal' Tail",
      "object": "pwe_data_robust_tail",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Survival.time",
        "Status"
      ],
      "rows": 439,
      "table": true,
      "tojson": true
    },
    {
      "name": "ruppert_ipd",
      "title": "OS Curves from Ruppert (2020)",
      "object": "ruppert_ipd",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Survival.time",
        "Status"
      ],
      "rows": 428,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "boot_fit_pwexpm_surv",
      "title": "Bootstrap a PWE Model with Formula or Existing Model",
      "topics": [
        "boot.pwexpm",
        "boot.pwexpm.default",
        "boot.pwexpm.pwexpm",
        "summary.boot.pwexpm"
      ]
    },
    {
      "page": "boot_fit_pwexpm",
      "title": "Bootstrap a PWE Model with Time and Event Vectors",
      "topics": [
        "boot.pwexpm_fit"
      ]
    },
    {
      "page": "coef",
      "title": "Extract pwexpm Coefficients",
      "topics": [
        "coef.pwexpm"
      ]
    },
    {
      "page": "pwexpm_conditional",
      "title": "The Conditional Piecewise Exponential Distribution",
      "topics": [
        "ppwexpm_conditional",
        "qpwexpm_conditional",
        "rpwexpm_conditional"
      ]
    },
    {
      "page": "confint",
      "title": "Confidence Intervals for Model Parameters in boot.pwexpm",
      "topics": [
        "confint.boot.pwexpm"
      ]
    },
    {
      "page": "cut_dat",
      "title": "Cut Data before a Specified Time",
      "topics": [
        "cut_dat"
      ]
    },
    {
      "page": "cv_fit_pwexpm_surv",
      "title": "Cross Validate a PWE Model with Formula or Exsiting Model",
      "topics": [
        "cv.pwexpm",
        "cv.pwexpm.default",
        "cv.pwexpm.pwexpm",
        "plot.cv.pwexpm"
      ]
    },
    {
      "page": "cv_fit_pwexpm",
      "title": "Cross Validate a PWE Model with Time and Event Vectors",
      "topics": [
        "cv.pwexpm_fit"
      ]
    },
    {
      "page": "pwexpm",
      "title": "The Piecewise Exponential Distribution",
      "topics": [
        "dpwexpm",
        "ppwexpm",
        "qpwexpm",
        "rpwexpm"
      ]
    },
    {
      "page": "plot_event",
      "title": "Plot Cumulative Event Curve with Survival Data or Predicted PWE Model",
      "topics": [
        "plot.predict.boot.pwexpm",
        "plot.predict.pwexpm",
        "plot_event",
        "plot_event.default",
        "plot_event.predict.boot.pwexpm",
        "plot_event.predict.pwexpm"
      ]
    },
    {
      "page": "plot_km",
      "title": "Plot Survival Curve for Survival Data or PWE Model",
      "topics": [
        "plot.boot.pwexpm",
        "plot.pwexpm",
        "plot_survival",
        "plot_survival.boot.pwexpm",
        "plot_survival.default",
        "plot_survival.pwexpm"
      ]
    },
    {
      "page": "predict",
      "title": "Predict Events for Piecewise Exponential (PWE) Model",
      "topics": [
        "predict.boot.pwexpm",
        "predict.pwexpm",
        "summary.predict.boot.pwexpm",
        "summary.predict.pwexpm"
      ]
    },
    {
      "page": "pwe_data",
      "title": "Piece-wise Exponentail Example Data",
      "topics": [
        "pwe_data"
      ]
    },
    {
      "page": "pwe_data_robust_tail",
      "title": "Piece-wise Exponentail Example Data with 'Abnormal' Tail",
      "topics": [
        "pwe_data_robust_tail"
      ]
    },
    {
      "page": "fit_pwexpm_surv",
      "title": "Fit a PWE Model with Formula",
      "topics": [
        "pwexpm",
        "summary.pwexpm"
      ]
    },
    {
      "page": "fit_pwexpm",
      "title": "Fit a PWE model with Time and Event Vectors",
      "topics": [
        "pwexpm_fit"
      ]
    },
    {
      "page": "ruppert_ipd",
      "title": "OS Curves from Ruppert (2020)",
      "topics": [
        "ruppert_ipd"
      ]
    },
    {
      "page": "sim_followup",
      "title": "Estimate Follow-up Time and Number of Events by Simulation",
      "topics": [
        "sim_followup"
      ]
    },
    {
      "page": "simdata",
      "title": "Simulate Survival Data",
      "topics": [
        "simdata"
      ]
    }
  ],
  "_readme": "https://github.com/cran/PwePred/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "doSNOW",
    "fastmatch",
    "foreach",
    "iterators",
    "lattice",
    "MASS",
    "Matrix",
    "nlme",
    "segmented",
    "snow",
    "survival"
  ],
  "_vignettes": [
    {
      "source": "Theory_Notes.Rmd",
      "filename": "Theory_Notes.html",
      "title": "Theory Notes",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage of Package",
        "Distribution",
        "Piecewise Exponential Distribution",
        "Conditional Piecewise Exponential Distribution",
        "Parameter Estimation",
        "Hazard Rate Estimation with Known Breakpoints",
        "Estimation of Breakpoints",
        "MLE by Brute-force Search",
        "OLS on Survival Function",
        "Hybrid Method",
        "Summary",
        "Reference"
      ],
      "created": "2025-04-10 10:40:23",
      "modified": "2025-04-10 10:40:23",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "pwepred",
  "_universes": [
    "zjph602xtc"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-15T05:48:16.000Z",
      "distro": "resolute",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "https://r2.ropensci.org/89e8a3b9542ddb70fc0358c8532c55c30a7816e9f651c08060bea4e11aae033a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/29392172478"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-07-15T05:48:18.000Z",
      "distro": "resolute",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "https://r2.ropensci.org/27e124e5aee6bc171db089ef7468a47220ea1391904cf5a245b19324ada41b39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/29392172478"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-15T05:48:26.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "https://r2.ropensci.org/d73e9109d0a84b9a82ecf459c67af21148679768a2c8625b36a324a908aa129c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/29392172478"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-07-15T05:48:15.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "https://r2.ropensci.org/a10b307be492c5dfd894b8e583446232727c48e777227586e5a598a64828f198",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/29392172478"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-07-15T05:48:19.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "https://r2.ropensci.org/34487069b67eae08656c48a553163e728e83f9a913f6169f2a6158a54b8dff50",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/29392172478"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-15T05:47:28.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "https://r2.ropensci.org/ad1e38a61b9a17327fa5a96dc08bdcf0b4c6ff41fe5d2f660e7bb12059914b6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/29392172478"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-15T05:47:16.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "https://r2.ropensci.org/ae5ba4d1de524f6a377129699e7994b3a02012875ed277b9f7ad0d9bd0ee8c52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/29392172478"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-07-15T05:47:31.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "https://r2.ropensci.org/5c87480a84c8032d3c2af1462fe0048ff82ea3709d991da2dea882128c973592",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/29392172478"
    }
  ]
}