{
  "_id": "6a2157a6cd65a98ecbd2e6d1",
  "Package": "npsurvSS",
  "Type": "Package",
  "Title": "Sample Size and Power Calculation for Common Non-Parametric\nTests in Survival Analysis",
  "Version": "1.1.0",
  "Authors@R": "c(person(\"Godwin\", \"Yung\", email=\"godwin.y.yung@gmail.com\", role=c(\"aut\", \"cre\")),\nperson(\"Yi\", \"Liu\", email=\"yiliu4321@gmail.com\", role=c(\"aut\")))",
  "Author": "Godwin Yung [aut, cre], Yi Liu [aut]",
  "Maintainer": "Godwin Yung <godwin.y.yung@gmail.com>",
  "Description": "A number of statistical tests have been proposed to\ncompare two survival curves, including the difference in (or\nratio of) t-year survival, difference in (or ratio of) p-th\npercentile survival, difference in (or ratio of) restricted\nmean survival time, and the weighted log-rank test. Despite the\nmultitude of options, the convention in survival studies is to\nassume proportional hazards and to use the unweighted log-rank\ntest for design and analysis. This package provides sample size\nand power calculation for all of the above statistical tests\nwith allowance for flexible accrual, censoring, and survival\n(eg. Weibull, piecewise-exponential, mixture cure). It is the\ncompanion R package to the paper by Yung and Liu (2020)\n<doi:10.1111/biom.13196>. Specific to the weighted log-rank\ntest, users may specify which approximations they wish to use\nto estimate the large-sample mean and variance. The default\noption has been shown to provide substantial improvement over\nthe conventional sample size and power equations based on\nSchoenfeld (1981) <doi:10.1093/biomet/68.1.316>.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/godwinyung/npsurvSS",
  "BugReports": "https://github.com/godwinyung/npsurvSS/issues",
  "Repository": "https://godwinyyung.r-universe.dev",
  "Date/Publication": "2024-04-13 17:22:06 UTC",
  "RemoteUrl": "https://github.com/godwinyyung/npsurvss",
  "RemoteRef": "HEAD",
  "RemoteSha": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 10:43:40 UTC",
    "User": "root"
  },
  "MD5sum": "8fe259f2f6cdf65737b72566148fe0d9",
  "_user": "godwinyyung",
  "_type": "src",
  "_file": "npsurvSS_1.1.0.tar.gz",
  "_fileid": "6b1c5bbacfb6f067b8c52efd061e4ca043553164c73477f435b25401540add1f",
  "_filesize": 851352,
  "_sha256": "6b1c5bbacfb6f067b8c52efd061e4ca043553164c73477f435b25401540add1f",
  "_created": "2026-06-04T10:43:40.000Z",
  "_published": "2026-06-04T10:47:02.830Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79501944441,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7409440709"
    },
    {
      "job": 79501944448,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409441462"
    },
    {
      "job": 79501944468,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7409449265"
    },
    {
      "job": 79501944462,
      "time": 148,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409437991"
    },
    {
      "job": 79501349763,
      "time": 231,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409398596"
    },
    {
      "job": 79501944644,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409432952"
    },
    {
      "job": 79501944556,
      "time": 84,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7409427132"
    },
    {
      "job": 79501944471,
      "time": 77,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7409424693"
    },
    {
      "job": 79501944469,
      "time": 70,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409422545"
    }
  ],
  "_buildurl": "https://github.com/r-universe/godwinyyung/actions/runs/26946684162",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/godwinyyung/npsurvss",
  "_commit": {
    "id": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
    "author": "Godwin Yung <yungg@gene.com>",
    "committer": "Godwin Yung <yungg@gene.com>",
    "message": "update http to https for CRAN submission\n",
    "time": 1713028926
  },
  "_maintainer": {
    "name": "Godwin Yung",
    "email": "godwin.y.yung@gmail.com",
    "login": "godwinyyung",
    "twitter": "@godwinyyung",
    "description": "",
    "uuid": 12722283
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "godwinyyung",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "godwinyyung",
      "count": 8,
      "uuid": 12722283
    },
    {
      "user": "littlebeannie",
      "count": 1,
      "uuid": 43153957
    }
  ],
  "_userbio": {
    "uuid": 12722283,
    "type": "user",
    "name": "Godwin Yung"
  },
  "_downloads": {
    "count": 502,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/npsurvSS"
  },
  "_devurl": "https://github.com/godwinyung/npsurvss",
  "_searchresults": 11,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/npsurvSS.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/godwinyyung/npsurvss",
  "_realowner": "godwinyyung",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2019-12-18"
    },
    {
      "version": "1.1.0",
      "date": "2024-05-08"
    }
  ],
  "_exports": [
    "create_arm",
    "create_arm_lachin",
    "daccr",
    "dloss",
    "dmaxU",
    "dminimaxU",
    "dsurv",
    "emaxU",
    "eminimaxU",
    "exp_duration",
    "exp_events",
    "hloss",
    "hsurv",
    "paccr",
    "per2haz",
    "ploss",
    "pmaxU",
    "pminimaxU",
    "power_two_arm",
    "psurv",
    "qaccr",
    "qloss",
    "qminimaxU",
    "qsurv",
    "raccr",
    "rloss",
    "rsurv",
    "simulate_arm",
    "simulate_trial",
    "size_two_arm"
  ],
  "_help": [
    {
      "page": "create_arm",
      "title": "Create an 'arm' object",
      "topics": [
        "create_arm"
      ]
    },
    {
      "page": "create_arm_lachin",
      "title": "Create a 'lachin' object",
      "topics": [
        "create_arm_lachin"
      ]
    },
    {
      "page": "daccr",
      "title": "Accrual",
      "topics": [
        "daccr",
        "paccr",
        "qaccr",
        "raccr"
      ]
    },
    {
      "page": "dloss",
      "title": "Loss to follow-up",
      "topics": [
        "dloss",
        "hloss",
        "ploss",
        "qloss",
        "rloss"
      ]
    },
    {
      "page": "dmaxU",
      "title": "Maximum observed time",
      "topics": [
        "dmaxU",
        "emaxU",
        "pmaxU"
      ]
    },
    {
      "page": "dminimaxU",
      "title": "Minimax observed time",
      "topics": [
        "dminimaxU",
        "eminimaxU",
        "pminimaxU",
        "qminimaxU"
      ]
    },
    {
      "page": "dsurv",
      "title": "Survival",
      "topics": [
        "dsurv",
        "hsurv",
        "psurv",
        "qsurv",
        "rsurv"
      ]
    },
    {
      "page": "exp_duration",
      "title": "Expected duration",
      "topics": [
        "exp_duration"
      ]
    },
    {
      "page": "exp_events",
      "title": "Expected number of events",
      "topics": [
        "exp_events"
      ]
    },
    {
      "page": "per2haz",
      "title": "Convert exponential parameters",
      "topics": [
        "per2haz"
      ]
    },
    {
      "page": "power_two_arm",
      "title": "Power",
      "topics": [
        "power_two_arm"
      ]
    },
    {
      "page": "simulate_arm",
      "title": "Simulate complete data for a single arm",
      "topics": [
        "simulate_arm"
      ]
    },
    {
      "page": "simulate_trial",
      "title": "Simulate a clinical trial",
      "topics": [
        "simulate_trial"
      ]
    },
    {
      "page": "size_two_arm",
      "title": "Sample size",
      "topics": [
        "size_two_arm"
      ]
    }
  ],
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "basic_functionalities.Rmd",
      "filename": "basic_functionalities.html",
      "title": "Basic functionalities",
      "author": "Godwin Yung",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Creating objects of class \"arm\"",
        "Visualizing distributional assumptions",
        "Calculating power and sample size",
        "Event-driven trials",
        "Simulating a trial"
      ],
      "created": "2019-08-16 15:30:56",
      "modified": "2019-08-16 15:30:56",
      "commits": 1
    },
    {
      "source": "example1.Rmd",
      "filename": "example1.html",
      "title": "Example 1: Optimal randomization ratio",
      "author": "Godwin Yung",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preliminaries",
        "Figure 1C",
        "Figure 2"
      ],
      "created": "2019-08-16 15:30:56",
      "modified": "2024-03-29 21:06:38",
      "commits": 2
    },
    {
      "source": "example2.Rmd",
      "filename": "example2.html",
      "title": "Example 2: Delayed treatment effect",
      "author": "Godwin Yung",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Figure 3",
        "Figure 4A"
      ],
      "created": "2019-08-16 15:30:56",
      "modified": "2024-03-29 21:06:38",
      "commits": 2
    }
  ],
  "_score": 3.9956351945975497,
  "_indexed": true,
  "_nocasepkg": "npsurvss",
  "_universes": [
    "godwinyyung",
    "godwinyung"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-04T10:45:44.000Z",
      "distro": "noble",
      "commit": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
      "fileid": "42e8ac9e2b4abbc02916e8ae0fe2906f4b4c89b296eef7de36c0956fa4987828",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/godwinyyung/actions/runs/26946684162"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-04T10:45:44.000Z",
      "distro": "noble",
      "commit": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
      "fileid": "8a10471096fe169ecf0ccef887ef6fec5b920e5f22e68d3cd5c0f30c9750230b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/godwinyyung/actions/runs/26946684162"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-04T10:46:13.000Z",
      "commit": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
      "fileid": "e52ef4d732e1fc827a87a7116595a71d2e98bdaa57df50b44926402fc66791f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/godwinyyung/actions/runs/26946684162"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-04T10:45:39.000Z",
      "commit": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
      "fileid": "2513346d814b701644a386f11baac9ed2eb1d43187f1ab75f346f84c4df5dc6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/godwinyyung/actions/runs/26946684162"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-06-04T10:45:36.000Z",
      "commit": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
      "fileid": "f2fb833bc5936226db2acf430d2a0fa2cfdeb0d4738028846961c0b9a12ec866",
      "status": "success",
      "buildurl": "https://github.com/r-universe/godwinyyung/actions/runs/26946684162"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-04T10:44:56.000Z",
      "commit": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
      "fileid": "24d451aedd4307f930077676b52387ce9ba4b99f112f928b83897230d86ebaab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/godwinyyung/actions/runs/26946684162"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-04T10:44:55.000Z",
      "commit": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
      "fileid": "36ab04ce1590f46ba8f6083a200923b919c28f5000f37e5cd3c543776ce0633c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/godwinyyung/actions/runs/26946684162"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-04T10:44:50.000Z",
      "commit": "f86e7e8590c85e09488a8adc5a81b71d5e8f51d0",
      "fileid": "a2b69314fcb77caf6e3dedef49777f374bf91adbdff6b1b925e9bc89f533b9c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/godwinyyung/actions/runs/26946684162"
    }
  ]
}