{
  "_id": "6a49cbad74d3c5f978be8b5c",
  "Package": "clinfun",
  "Title": "Clinical Trial Design and Data Analysis Functions",
  "Version": "1.1.6",
  "Author": "Venkatraman E. Seshan [aut, cre], Karissa Whiting [aut]",
  "Authors@R": "c(person(given = \"Venkatraman E.\", family = \"Seshan\", role = c(\"aut\", \"cre\"), email = \"seshanv@mskcc.org\"),\nperson(given = \"Karissa\", family = \"Whiting\", role = \"aut\"))",
  "Description": "Utilities to make your clinical collaborations easier if\nnot fun. It contains functions for designing studies such as\nSimon 2-stage and group sequential designs and for data\nanalysis such as Jonckheere-Terpstra test and estimating\nsurvival quantiles.",
  "Maintainer": "Venkatraman E. Seshan <seshanv@mskcc.org>",
  "License": "GPL (>= 2)",
  "NeedsCompilation": "yes",
  "VignetteBuilder": "knitr",
  "Repository": "https://veseshan.r-universe.dev",
  "Date/Publication": "2023-12-07 18:23:59 UTC",
  "RemoteUrl": "https://github.com/veseshan/clinfun",
  "RemoteRef": "HEAD",
  "RemoteSha": "a1966795e6879ba860d357289aaad039d76f2678",
  "Packaged": {
    "Date": "2026-06-16 07:32:45 UTC",
    "User": "root"
  },
  "_user": "veseshan",
  "_type": "src",
  "_file": "clinfun_1.1.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/fdfc709b772c94d6dc3ca65d2eeeaf9c98e5a56c8f518b2fce38d597eb3e73fa",
  "_filesize": 354733,
  "_sha256": "fdfc709b772c94d6dc3ca65d2eeeaf9c98e5a56c8f518b2fce38d597eb3e73fa",
  "_expires": "2026-10-13T03:12:43.000Z",
  "_created": "2026-06-16T07:32:45.000Z",
  "_published": "2026-07-05T03:12:45.439Z",
  "_jobs": [
    {
      "job": 85188369554,
      "time": 117,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7660177567"
    },
    {
      "job": 85188369462,
      "time": 174,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7660195632"
    },
    {
      "job": 85188369618,
      "time": 117,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7660177765"
    },
    {
      "job": 85188369467,
      "time": 104,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7660173468"
    },
    {
      "job": 85188369664,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7660190717"
    },
    {
      "job": 85188369630,
      "time": 191,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7660208614"
    },
    {
      "job": 85188369545,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7660181543"
    },
    {
      "job": 85188369526,
      "time": 260,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7660234573"
    },
    {
      "job": 85188369292,
      "time": 157,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7660137698"
    },
    {
      "job": 85188369498,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7660173151"
    },
    {
      "job": 85188369584,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7660173310"
    },
    {
      "job": 85188369484,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7660172671"
    },
    {
      "job": 85188369555,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7660171250"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255",
  "_status": "success",
  "_upstream": "https://github.com/veseshan/clinfun",
  "_commit": {
    "id": "a1966795e6879ba860d357289aaad039d76f2678",
    "author": "karissawhiting <whitingk@mskcc.org>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #21 from veseshan/cran\n\nMerge cran with ph2simon admissible edit",
    "time": 1701973439
  },
  "_maintainer": {
    "name": "Venkatraman E. Seshan",
    "email": "seshanv@mskcc.org",
    "login": "veseshan",
    "description": "",
    "uuid": 12280668
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    }
  ],
  "_owner": "veseshan",
  "_selfowned": true,
  "_usedby": 9,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "karissawhiting",
      "count": 43,
      "uuid": 10888683
    },
    {
      "user": "veseshan",
      "count": 20,
      "uuid": 12280668
    },
    {
      "user": "fdehrich",
      "count": 15,
      "uuid": 71148967
    }
  ],
  "_userbio": {
    "uuid": 12280668,
    "type": "user",
    "name": "Venkatraman E. Seshan",
    "followers": 9
  },
  "_downloads": {
    "count": 3345,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clinfun"
  },
  "_mentions": 22,
  "_devurl": "https://github.com/veseshan/clinfun",
  "_searchresults": 191,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/clinfun.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/veseshan/clinfun",
  "_realowner": "veseshan",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.7-0",
      "date": "2007-02-25"
    },
    {
      "version": "0.7-1",
      "date": "2007-02-28"
    },
    {
      "version": "0.7-3",
      "date": "2007-05-11"
    },
    {
      "version": "0.7-4",
      "date": "2007-10-07"
    },
    {
      "version": "0.7-5",
      "date": "2008-05-13"
    },
    {
      "version": "0.8.0",
      "date": "2008-05-25"
    },
    {
      "version": "0.8.1",
      "date": "2008-06-18"
    },
    {
      "version": "0.8.2",
      "date": "2008-07-05"
    },
    {
      "version": "0.8.3",
      "date": "2008-11-18"
    },
    {
      "version": "0.8.4",
      "date": "2008-12-04"
    },
    {
      "version": "0.8.5",
      "date": "2009-07-18"
    },
    {
      "version": "0.8.6",
      "date": "2009-11-19"
    },
    {
      "version": "0.8.7",
      "date": "2009-11-22"
    },
    {
      "version": "0.8.8",
      "date": "2010-04-08"
    },
    {
      "version": "0.8.9",
      "date": "2010-04-10"
    },
    {
      "version": "0.8.10",
      "date": "2010-04-16"
    },
    {
      "version": "0.9.0",
      "date": "2010-11-03"
    },
    {
      "version": "0.9.1",
      "date": "2010-11-05"
    },
    {
      "version": "0.9.2",
      "date": "2010-11-10"
    },
    {
      "version": "0.9.3",
      "date": "2010-12-07"
    },
    {
      "version": "0.9.4",
      "date": "2011-02-25"
    },
    {
      "version": "0.9.5",
      "date": "2011-03-09"
    },
    {
      "version": "0.9.6",
      "date": "2011-03-24"
    },
    {
      "version": "0.9.7",
      "date": "2011-04-27"
    },
    {
      "version": "0.9.8",
      "date": "2011-09-14"
    },
    {
      "version": "0.9.9",
      "date": "2012-01-18"
    },
    {
      "version": "1.0.0",
      "date": "2012-03-13"
    },
    {
      "version": "1.0.1",
      "date": "2012-08-14"
    },
    {
      "version": "1.0.2",
      "date": "2012-09-25"
    },
    {
      "version": "1.0.3",
      "date": "2012-10-15"
    },
    {
      "version": "1.0.4",
      "date": "2013-01-23"
    },
    {
      "version": "1.0.5",
      "date": "2013-04-16"
    },
    {
      "version": "1.0.6",
      "date": "2014-07-22"
    },
    {
      "version": "1.0.9",
      "date": "2015-02-24"
    },
    {
      "version": "1.0.10",
      "date": "2015-05-18"
    },
    {
      "version": "1.0.11",
      "date": "2015-08-11"
    },
    {
      "version": "1.0.12",
      "date": "2016-10-17"
    },
    {
      "version": "1.0.13",
      "date": "2016-11-30"
    },
    {
      "version": "1.0.14",
      "date": "2017-04-25"
    },
    {
      "version": "1.0.15",
      "date": "2018-04-13"
    },
    {
      "version": "1.1.0",
      "date": "2022-02-23"
    },
    {
      "version": "1.1.1",
      "date": "2023-03-07"
    },
    {
      "version": "1.1.2",
      "date": "2023-06-19"
    },
    {
      "version": "1.1.3",
      "date": "2023-07-13"
    },
    {
      "version": "1.1.4",
      "date": "2023-10-12"
    },
    {
      "version": "1.1.5",
      "date": "2023-10-19"
    }
  ],
  "_exports": [
    "aucVardiTest",
    "bdrycross.prob",
    "calogrank",
    "coxphCPE",
    "coxphERR",
    "coxphQuantile",
    "CPS.ssize",
    "deltaAUC",
    "fe.mdor",
    "fe.power",
    "fe.ssize",
    "futilbdry",
    "gsdesign.binomial",
    "gsdesign.normal",
    "gsdesign.survival",
    "jonckheere.test",
    "mdrr",
    "oc.twostage.bdry",
    "or2pcase",
    "permlogrank",
    "ph2simon",
    "ph2single",
    "power.ladesign",
    "pselect",
    "roc.area.test",
    "roc.curve",
    "roc.perm.test",
    "toxbdry",
    "twostage.admissible",
    "twostage.inference"
  ],
  "_datasets": [
    {
      "name": "ipmn",
      "title": "Comparing the AUC from ROC curves from nested binary regression",
      "object": "ipmn",
      "file": "ipmn.txt.gz",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2",
        "V3",
        "V4",
        "V5"
      ],
      "rows": 206,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "aucVardiTest",
      "title": "Two-Sample Tests for Growth Curves under Dependent Right Censoring",
      "topics": [
        "aucVardiTest"
      ]
    },
    {
      "page": "calogrank",
      "title": "Survival curves analysis of covariance",
      "topics": [
        "calogrank"
      ]
    },
    {
      "page": "coxphCPE",
      "title": "Concordance Probability Estimate for Cox model",
      "topics": [
        "coxphCPE"
      ]
    },
    {
      "page": "coxphERR",
      "title": "Heller Explained Relative Risk",
      "topics": [
        "coxphERR"
      ]
    },
    {
      "page": "coxphQuantile",
      "title": "Survival time quantile as a function of covariate",
      "topics": [
        "coxphQuantile"
      ]
    },
    {
      "page": "deltaAUC",
      "title": "Comparing the AUC from ROC curves from nested binary regression",
      "topics": [
        "deltaAUC",
        "ipmn"
      ]
    },
    {
      "page": "fedesign",
      "title": "Trial Designs Based On Fisher's Exact Test",
      "topics": [
        "CPS.ssize",
        "fe.mdor",
        "fe.power",
        "fe.ssize",
        "fedesign",
        "mdrr",
        "or2pcase"
      ]
    },
    {
      "page": "gsdesign",
      "title": "Group Sequential Designs",
      "topics": [
        "gsdesign",
        "gsdesign.binomial",
        "gsdesign.normal",
        "gsdesign.survival"
      ]
    },
    {
      "page": "jonckheere.test",
      "title": "Exact/permutation version of Jonckheere-Terpstra test",
      "topics": [
        "jonckheere.test"
      ]
    },
    {
      "page": "ktau",
      "title": "Kendall's tau-b estimate",
      "topics": [
        "ktau"
      ]
    },
    {
      "page": "oc.twostage.bdry",
      "title": "Two-stage boundary operating characteristics",
      "topics": [
        "oc.twostage.bdry"
      ]
    },
    {
      "page": "permlogrank",
      "title": "Permutation version of survdiff",
      "topics": [
        "permlogrank"
      ]
    },
    {
      "page": "ph2simon",
      "title": "Simon's 2-stage Phase II design",
      "topics": [
        "ph2simon",
        "plot.ph2simon",
        "print.ph2simon"
      ]
    },
    {
      "page": "ph2single",
      "title": "Exact single stage Phase II design",
      "topics": [
        "ph2single"
      ]
    },
    {
      "page": "power.ladesign",
      "title": "Power of k-sample rank test under Lehmann alternative",
      "topics": [
        "power.ladesign",
        "print.ladesign"
      ]
    },
    {
      "page": "pselect",
      "title": "Probability of selection under pick the winner rule",
      "topics": [
        "pselect"
      ]
    },
    {
      "page": "roc.area.test",
      "title": "Nonparametric area under the ROC curve",
      "topics": [
        "print.roc.area.test",
        "roc.area.test"
      ]
    },
    {
      "page": "roc.curve",
      "title": "Empirical ROC curve",
      "topics": [
        "lines.roc.curve",
        "plot.roc.curve",
        "print.roc.curve",
        "roc.curve"
      ]
    },
    {
      "page": "roc.perm.test",
      "title": "Permutation test to compare ROC curve",
      "topics": [
        "plot.roc.perm.test",
        "print.roc.perm.test",
        "roc.perm.test"
      ]
    },
    {
      "page": "ROCanalysis",
      "title": "Functions to plot and compare ROC curves.",
      "topics": [
        "ROCanalysis",
        "rocanalysis"
      ]
    },
    {
      "page": "toxbdry",
      "title": "Stopping rule for toxicity/futility monitoring",
      "topics": [
        "bdrycross.prob",
        "futilbdry",
        "print.futilbdry",
        "print.toxbdry",
        "toxbdry"
      ]
    },
    {
      "page": "twostage.admissible",
      "title": "Admissible design options between Minimax and Optimal",
      "topics": [
        "twostage.admissible"
      ]
    },
    {
      "page": "twostage.inference",
      "title": "Inference following a two-stage design for binary response",
      "topics": [
        "twostage.inference"
      ]
    }
  ],
  "_rundeps": [
    "mvtnorm"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "clinical-trial-functions.Rmd",
      "filename": "clinical-trial-functions.html",
      "title": "Functions For Clinical Trial Design",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Phase II Trial Design",
        "Simon's Two-Stage",
        "Design Parameters and Constraints",
        "Optimal vs. Minimax vs. Admissible Designs",
        "Levatinib Phase II Trial Example",
        "Cases Where the Admissible Design Is a Logical Choice",
        "References",
        "Single-Stage",
        "Example",
        "Constructing Stopping Rules",
        "Stopping for Toxicity (For Phase II and Phase III Designs)",
        "Stopping for Futility (For Phase II Single-Stage Designs)",
        "Calculating Sample Size, Effect Size, and  Power",
        "Fisher's Exact Test"
      ],
      "created": "2023-03-06 22:02:36",
      "modified": "2023-04-27 17:11:02",
      "commits": 4
    }
  ],
  "_score": 8.31597449955818,
  "_indexed": true,
  "_nocasepkg": "clinfun",
  "_universes": [
    "veseshan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-06-16T07:34:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/9a362437a347143bd534e7943492c84989b2ff224d67fb7bbb7107deb4af5985",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-06-16T07:35:31.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/228a175996a30464b5f91a80e131393e6a82b17fee6030bf08a8bd5320f26a0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-06-16T07:34:39.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/66265161af2ae839c69d5d27a48142028e0032bdf442f0af8b096c19179ab9bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-06-16T07:34:25.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/1d289ec4f9fb3a5daddb2e3ca0d794278beb1cfd4963257eb994acc04ef25dc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-06-16T07:35:15.000Z",
      "arch": "aarch64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/0542e57a039b9b22b3dd1981576d0d65ccfaedd5c118cc6782cfd95a85139382",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-06-16T07:35:57.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/c2f2291ed203c70f5de01aa69b9fd5dcb12cd550aba0204e0ef0fe4f6c17eb11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-06-16T07:34:48.000Z",
      "arch": "aarch64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/49b1164653f7c3c96698794458f88c0e1461eaae43b07649a496c9f8628f13e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-06-16T07:37:06.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/80948a1406164fb7d22846267fd4280e4952f56c93b31abcef0f8a415cd34a6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.6",
      "date": "2026-06-16T07:34:43.000Z",
      "arch": "emscripten",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/946652d285033d5121adea0c7267bdd7a45d9cd71841146ea80756a9f4fc71a4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.6",
      "date": "2026-06-16T07:33:59.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/630388993ef81f6181b08c1abbb0b5f917a7a1c21e78f02ca823785526284553",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.6",
      "date": "2026-06-16T07:34:02.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/4eff599eed904f583b65b28884d3b61dd52a8ae9d6a1f37f6df2312397e56e34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.6",
      "date": "2026-06-16T07:33:54.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/8db5f23bf86a2fd416072008a7a1f7f05ce8bc265dd81cff8834f61611f34aa3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/27601551255"
    }
  ]
}