{
  "_id": "6a1f1d5ab401979e7341fb83",
  "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-05-16 08:40:30 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",
  "MD5sum": "4435731fc664424996ec4142441979ed",
  "_user": "zjph602xtc",
  "_type": "src",
  "_file": "PwePred_1.1.2.tar.gz",
  "_fileid": "ba56f4cd3eb0c19e3739927230b1cd14be83c4853d63e4d34cc2ff4de6552309",
  "_filesize": 1259764,
  "_sha256": "ba56f4cd3eb0c19e3739927230b1cd14be83c4853d63e4d34cc2ff4de6552309",
  "_created": "2026-05-16T08:40:30.000Z",
  "_published": "2026-06-02T18:13:46.528Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79140578748,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7032039579"
    },
    {
      "job": 79140578637,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032039890"
    },
    {
      "job": 79140578838,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7032040996"
    },
    {
      "job": 79140578884,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032035492"
    },
    {
      "job": 79140578009,
      "time": 175,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032023068"
    },
    {
      "job": 79140577789,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366128515"
    },
    {
      "job": 79140578817,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7032035737"
    },
    {
      "job": 79140579257,
      "time": 113,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7032035775"
    },
    {
      "job": 79140578739,
      "time": 118,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7032036586"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/25957500938",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 17025087,
    "orcid": "0000-0002-0102-7630"
  },
  "_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"
  },
  "_downloads": {
    "count": 477,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PwePred"
  },
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_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",
    "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-05-16T08:42:27.000Z",
      "distro": "noble",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "2ec2792b5141a0b8dcac4745181e999d55315f77bbc71511ccb9b7afb60b0f88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/25957500938"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.2",
      "date": "2026-05-16T08:42:32.000Z",
      "distro": "noble",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "238a767af7e432604530ee699335861b0b6fcc9028b9fbfc4a688b27cf718377",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/25957500938"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-05-16T08:42:37.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "f45411a2f3b069038dba5004ba97325e7fdcc93a46bfcd9cc0c75b5b3c29aebc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/25957500938"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.2",
      "date": "2026-05-16T08:42:06.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "28f751745dd66aa486c8a4bae967cc8fa2b4bcca92d13a059f38b90a4295a657",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/25957500938"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-05-16T08:41:44.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "89e8bd409fd311d6a6c7e60c658cba691d4e38725e5c099c2fa51242e072b739",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/25957500938"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-05-16T08:41:35.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "20497514385b08a568f594ebb6678196bb65658cf7d2a32ef6f7c42d52381a56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/25957500938"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.2",
      "date": "2026-05-16T08:41:52.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "30a6d03d4d5c3883da9dd1e1ac17be8691fede2bf362fb6762c3a6378c359cd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/25957500938"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.2",
      "date": "2026-06-02T18:13:28.000Z",
      "commit": "9519ccfadcaa162439f248f33c70f090469ee762",
      "fileid": "75ecc0e16b24fbd5a9b409b6e3a16fe194b27137ef8cfa595b50b6c0921541e2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zjph602xtc/actions/runs/25957500938"
    }
  ]
}