{
  "_id": "6a1bfc6b1d7bb097a0a28170",
  "Package": "PWEALL",
  "Type": "Package",
  "Version": "1.3.0.1",
  "Date": "2018-10-18",
  "Title": "Design and Monitoring of Survival Trials Accounting for Complex\nSituations",
  "Description": "Calculates various functions needed for design and\nmonitoring survival trials accounting for complex situations\nsuch as delayed treatment effect, treatment crossover,\nnon-uniform accrual, and different censoring distributions\nbetween groups. The event time distribution is assumed to be\npiecewise exponential (PWE) distribution and the entry time is\nassumed to be piecewise uniform distribution. As compared with\nVersion 1.2.1, two more types of hybrid crossover are added. A\nbug is corrected in the function \"pwecx\" that calculates the\ncrossover-adjusted survival, distribution, density, hazard and\ncumulative hazard functions. Also, to generate the\ncrossover-adjusted event time random variable, a more efficient\nalgorithm is used and the output includes crossover indicators.",
  "Authors@R": "c(\nperson(given=\"Xiaodong\", family=\"Luo\", email = \"Xiaodong.Luo@sanofi.com\", role =c(\"aut\", \"cre\")),\nperson(given=\"Xuezhou\", family=\"Mao\",  role = \"ctb\"),\nperson(given=\"Xun\", family=\"Chen\",  role = \"ctb\"),\nperson(given=\"Hui\", family=\"Quan\",  role = \"ctb\"),\nperson(\"Sanofi\", role = \"cph\"))",
  "License": "GPL (>= 2)",
  "RoxygenNote": "5.0.1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-31 09:09:32 UTC",
    "User": "root"
  },
  "Author": "Xiaodong Luo [aut, cre], Xuezhou Mao [ctb], Xun Chen [ctb], Hui\nQuan [ctb], Sanofi [cph]",
  "Maintainer": "Xiaodong Luo <Xiaodong.Luo@sanofi.com>",
  "Repository": "https://marvels2031.r-universe.dev",
  "Date/Publication": "2023-08-09 06:32:06 UTC",
  "RemoteUrl": "https://github.com/cran/PWEALL",
  "RemoteRef": "HEAD",
  "RemoteSha": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
  "MD5sum": "01b2af48d8a2eb3b6dca4abade73fdc9",
  "_user": "marvels2031",
  "_type": "src",
  "_file": "PWEALL_1.3.0.1.tar.gz",
  "_fileid": "12f9c84a597ab0a53c6756284fe127f4a8d29b2622e66796a8eb3468029ffa3b",
  "_filesize": 441162,
  "_sha256": "12f9c84a597ab0a53c6756284fe127f4a8d29b2622e66796a8eb3468029ffa3b",
  "_created": "2026-05-31T09:09:32.000Z",
  "_published": "2026-05-31T09:16:27.457Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78714373101,
      "time": 120,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315495442"
    },
    {
      "job": 78714373124,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315496303"
    },
    {
      "job": 78714373122,
      "time": 124,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315495812"
    },
    {
      "job": 78714373125,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315495937"
    },
    {
      "job": 78714373109,
      "time": 159,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315497546"
    },
    {
      "job": 78714373100,
      "time": 362,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315521209"
    },
    {
      "job": 78714373088,
      "time": 162,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315497153"
    },
    {
      "job": 78714373113,
      "time": 342,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315517346"
    },
    {
      "job": 78714227043,
      "time": 156,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315480968"
    },
    {
      "job": 78714373053,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315493978"
    },
    {
      "job": 78714373090,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315493970"
    },
    {
      "job": 78714373085,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315492413"
    },
    {
      "job": 78714373092,
      "time": 104,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315493390"
    }
  ],
  "_buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/PWEALL",
  "_commit": {
    "id": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
    "author": "Xiaodong Luo <Xiaodong.Luo@sanofi.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3.0.1\n",
    "time": 1691562726
  },
  "_maintainer": {
    "name": "Xiaodong Luo",
    "email": "xiaodong.luo@sanofi.com",
    "login": "marvels2031",
    "description": "",
    "uuid": 76741170
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.2",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "marvels2031",
      "count": 6,
      "uuid": 76741170
    }
  ],
  "_userbio": {
    "uuid": 76741170,
    "type": "user",
    "name": "marvels2031"
  },
  "_downloads": {
    "count": 362,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PWEALL"
  },
  "_searchresults": 45,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/PWEALL.html",
    "manual.pdf"
  ],
  "_realowner": "marvels2031",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2016-12-22"
    },
    {
      "version": "1.1.0",
      "date": "2017-03-04"
    },
    {
      "version": "1.2.0",
      "date": "2017-10-01"
    },
    {
      "version": "1.2.1",
      "date": "2018-03-28"
    },
    {
      "version": "1.3.0",
      "date": "2018-10-18"
    },
    {
      "version": "1.3.0.1",
      "date": "2023-08-09"
    }
  ],
  "_exports": [
    "cp",
    "cpboundary",
    "cpstop",
    "fourhr",
    "hxbeta",
    "innercov",
    "innervar",
    "instudyfindt",
    "ovbeta",
    "overallcov",
    "overallcovp1",
    "overallcovp2",
    "overallvar",
    "pwe",
    "pwecx",
    "pwecxcens",
    "pwecxpwu",
    "pwecxpwufindt",
    "pwecxpwuforvar",
    "pwefv2",
    "pwefvplus",
    "pwepower",
    "pwepowereq",
    "pwepowerfindt",
    "pwepowerni",
    "pwesim",
    "pwu",
    "qpwe",
    "qpwu",
    "rmstcov",
    "rmsth",
    "rmstpower",
    "rmstpowerfindt",
    "rmstsim",
    "rmstutil",
    "rpwe",
    "rpwecx",
    "rpwu",
    "spf",
    "wlrcal",
    "wlrcom",
    "wlrutil"
  ],
  "_help": [
    {
      "page": "PWEALL2-package",
      "title": "Design and Monitoring of Survival Trials Accounting for Complex Situations",
      "topics": [
        "PWEALL-package",
        "PWEALL"
      ]
    },
    {
      "page": "cp",
      "title": "Conditional power given observed log hazard ratio",
      "topics": [
        "cp"
      ]
    },
    {
      "page": "cpboundary",
      "title": "The stopping boundary based on the conditional power criteria",
      "topics": [
        "cpboundary"
      ]
    },
    {
      "page": "cpstop",
      "title": "The stopping probability based on the stopping boundary",
      "topics": [
        "cpstop"
      ]
    },
    {
      "page": "fourhr",
      "title": "A utility functon",
      "topics": [
        "fourhr"
      ]
    },
    {
      "page": "hxbeta",
      "title": "A function to calculate the beta-smoothed hazard rate",
      "topics": [
        "hxbeta"
      ]
    },
    {
      "page": "innercov",
      "title": "A utility function to calculate the inner integration of the overall covariance",
      "topics": [
        "innercov"
      ]
    },
    {
      "page": "innervar",
      "title": "A utility function to calculate the inner integration of the overall variance",
      "topics": [
        "innervar"
      ]
    },
    {
      "page": "instudyfindt",
      "title": "calculate the timeline in study when some or all subjects have entered",
      "topics": [
        "instudyfindt"
      ]
    },
    {
      "page": "ovbeta",
      "title": "calculate the overall log hazard ratio",
      "topics": [
        "ovbeta"
      ]
    },
    {
      "page": "overallcov",
      "title": "calculate the overall covariance",
      "topics": [
        "overallcov"
      ]
    },
    {
      "page": "overallcovp1",
      "title": "calculate the first part of the overall covariance",
      "topics": [
        "overallcovp1"
      ]
    },
    {
      "page": "overallcovp2",
      "title": "calculate the other parts of the overall covariance",
      "topics": [
        "overallcovp2"
      ]
    },
    {
      "page": "overallvar",
      "title": "calculate the overall variance",
      "topics": [
        "overallvar"
      ]
    },
    {
      "page": "pwe",
      "title": "Piecewise exponential distribution: hazard, cumulative hazard, density, distribution, survival",
      "topics": [
        "pwe"
      ]
    },
    {
      "page": "pwecx",
      "title": "Various function for piecewise exponential distribution with crossover effect",
      "topics": [
        "pwecx"
      ]
    },
    {
      "page": "pwecxcens",
      "title": "Integration of the density of piecewise exponential distribution with crossover effect and the censoring function",
      "topics": [
        "pwecxcens"
      ]
    },
    {
      "page": "pwecxpwu",
      "title": "Integration of the density of piecewise exponential distribution with crossover effect, censoring and recruitment function",
      "topics": [
        "pwecxpwu"
      ]
    },
    {
      "page": "pwecxpwufindt",
      "title": "calculate the timeline when certain number of events accumulates",
      "topics": [
        "pwecxpwufindt"
      ]
    },
    {
      "page": "pwecxpwuforvar",
      "title": "calculate the utility function used for varaince calculation",
      "topics": [
        "pwecxpwuforvar"
      ]
    },
    {
      "page": "pwefv2",
      "title": "A utility function",
      "topics": [
        "pwefv2"
      ]
    },
    {
      "page": "pwefvplus",
      "title": "A utility functon",
      "topics": [
        "pwefvplus"
      ]
    },
    {
      "page": "pwepower",
      "title": "Calculating the powers of various the test statistics for superiority trials",
      "topics": [
        "pwepower"
      ]
    },
    {
      "page": "pwepowereq",
      "title": "Calculating the powers of various the test statistics for equivalence trials",
      "topics": [
        "pwepowereq"
      ]
    },
    {
      "page": "pwepowerfindt",
      "title": "Calculating the timepoint where a certain power of the specified test statistics is obtained",
      "topics": [
        "pwepowerfindt"
      ]
    },
    {
      "page": "pwepowerni",
      "title": "Calculating the powers of various the test statistics for non-inferiority trials",
      "topics": [
        "pwepowerni"
      ]
    },
    {
      "page": "pwesim",
      "title": "simulating the test statistics",
      "topics": [
        "pwesim"
      ]
    },
    {
      "page": "pwu",
      "title": "Piecewise uniform distribution: distribution",
      "topics": [
        "pwu"
      ]
    },
    {
      "page": "qpwe",
      "title": "Piecewise exponential distribution: quantile function",
      "topics": [
        "qpwe"
      ]
    },
    {
      "page": "qpwu",
      "title": "Piecewise uniform distribution: quantile function",
      "topics": [
        "qpwu"
      ]
    },
    {
      "page": "rmstcov",
      "title": "Calculation of the variance and covariance of estimated restricted mean survival time",
      "topics": [
        "rmstcov"
      ]
    },
    {
      "page": "rmsth",
      "title": "Estimate the restricted mean survival time (RMST) and its variance from data",
      "topics": [
        "rmsth"
      ]
    },
    {
      "page": "rmstpower",
      "title": "Calculate powers at different cut-points based on difference of restricted mean survival times (RMST)",
      "topics": [
        "rmstpower"
      ]
    },
    {
      "page": "rmstpowerfindt",
      "title": "Calculating the timepoint where a certain power of mean difference of RMSTs is obtained",
      "topics": [
        "rmstpowerfindt"
      ]
    },
    {
      "page": "rmstsim",
      "title": "simulating the restricted mean survival times",
      "topics": [
        "rmstsim"
      ]
    },
    {
      "page": "rmstutil",
      "title": "A utility function to calculate the true restricted mean survival time (RMST) and its variance account for delayed treatment, discontinued treatment and non-uniform entry",
      "topics": [
        "rmstutil"
      ]
    },
    {
      "page": "rpwe",
      "title": "Piecewise exponential distribution: random number generation",
      "topics": [
        "rpwe"
      ]
    },
    {
      "page": "rpwecx",
      "title": "Piecewise exponential distribution with crossover effect: random number generation",
      "topics": [
        "rpwecx"
      ]
    },
    {
      "page": "rpwu",
      "title": "Piecewise uniform distribution: random number generation",
      "topics": [
        "rpwu"
      ]
    },
    {
      "page": "spf",
      "title": "A utility function",
      "topics": [
        "spf"
      ]
    },
    {
      "page": "wlrcal",
      "title": "A utility function to calculate the weighted log-rank statistics and their varainces given the weights",
      "topics": [
        "wlrcal"
      ]
    },
    {
      "page": "wlrcom",
      "title": "A function to calculate the various weighted log-rank statistics and their varainces",
      "topics": [
        "wlrcom"
      ]
    },
    {
      "page": "wlrutil",
      "title": "A utility function to calculate some common functions in contructing weights",
      "topics": [
        "wlrutil"
      ]
    }
  ],
  "_rundeps": [
    "lattice",
    "Matrix",
    "survival"
  ],
  "_sysdeps": [
    {
      "shlib": "libgfortran",
      "package": "libgfortran5",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    }
  ],
  "_score": 2.4313637641589874,
  "_indexed": true,
  "_nocasepkg": "pweall",
  "_universes": [
    "marvels2031"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:11:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "cb0f3ed5ccbc2d93cb30cc022c415fc834bc96934434a6e2aea20aaadb9ded4a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:11:34.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "e2866a7ea80fdc3cebe4b8f097ca410b0acafb035cc629fd72482bbcb398cb60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:11:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "04d749dfe3fc9c854d1c844826786d1bfc583c02d47c8cabe80292da1c3f4c37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:11:33.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "2b311907d512645b4ed7d8cfb137e256af103f052bdf1f1c805d7dd712530fa0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:11:56.000Z",
      "arch": "aarch64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "6b9869b321dcc514466a26746640403b18f484d54bbe9f7a3f4cd42fb603d688",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:14:29.000Z",
      "arch": "x86_64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "87c94ac0436b2f06d708ebdb86015fd40680c743c65ab98ae7b8bcc0f48f2231",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:11:48.000Z",
      "arch": "aarch64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "f161ea011e976a826a13d7f84f81c660d875bb54248736cd0dbf7ebcdf8fa8a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:14:00.000Z",
      "arch": "x86_64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "be9ec5c94c32aae3167c36964662f024e79ff7b32fef94802fca9338365ffe0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:11:40.000Z",
      "arch": "emscripten",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "2beb8a488ca34384c13b8973416886b8aaf9748c2f1256a0f1da9eda4497ac5e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:10:55.000Z",
      "arch": "x86_64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "bd214a5bea8364f9d112e24be40c5465ef31708523d08d0ef8e3f6f6e1a9bcb0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:10:49.000Z",
      "arch": "x86_64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "d677422072abdd53de6c3d61227c21dc6a22263a7bca295ebeb4e16829c2d82b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.0.1",
      "date": "2026-05-31T09:11:01.000Z",
      "arch": "x86_64",
      "commit": "d4c6df009fc16ab16ceb1cb5cae9cabde76dadac",
      "fileid": "18af3d159f08f6e8d6c7b72549bb8697914af3174ddd294ff104fba9684b122f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marvels2031/actions/runs/26708486438"
    }
  ]
}