{
  "_id": "6a586e16ff0138dec5d734b0",
  "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-07-16 05:29:54 UTC",
    "User": "root"
  },
  "_user": "veseshan",
  "_type": "src",
  "_file": "clinfun_1.1.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/49a8e289a092f86c21641cc17b6936c72a55aba74a67400c52af29519f7b4f10",
  "_filesize": 354843,
  "_sha256": "49a8e289a092f86c21641cc17b6936c72a55aba74a67400c52af29519f7b4f10",
  "_expires": "2026-10-24T05:37:24.000Z",
  "_created": "2026-07-16T05:29:54.000Z",
  "_published": "2026-07-16T05:37:26.191Z",
  "_jobs": [
    {
      "job": 87543139503,
      "time": 168,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8365900643"
    },
    {
      "job": 87543139522,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8365888474"
    },
    {
      "job": 87543139528,
      "time": 152,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8365897065"
    },
    {
      "job": 87543139491,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8365892149"
    },
    {
      "job": 87543139517,
      "time": 178,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8365945123"
    },
    {
      "job": 87543139505,
      "time": 370,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8365955494"
    },
    {
      "job": 87543139521,
      "time": 185,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8365930703"
    },
    {
      "job": 87543139504,
      "time": 229,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8365920538"
    },
    {
      "job": 87542746968,
      "time": 176,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8365853232"
    },
    {
      "job": 87543139446,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8365886894"
    },
    {
      "job": 87543139476,
      "time": 110,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8365884027"
    },
    {
      "job": 87543139480,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8365879014"
    },
    {
      "job": 87543139494,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8365880908"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628",
  "_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": "resolute",
  "_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": 2406,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/clinfun"
  },
  "_mentions": 22,
  "_devurl": "https://github.com/veseshan/clinfun",
  "_searchresults": 187,
  "_topics": [
    "fortran"
  ],
  "_rbuild": "4.6.1",
  "_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": "16-20260322-1ubuntu1",
      "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.163682239746937,
  "_indexed": true,
  "_nocasepkg": "clinfun",
  "_universes": [
    "veseshan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-07-16T05:32:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/1319a686cc98775f93ac10cbe1921eb5e3de89fe61ab61c1c728766415f2ce7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-07-16T05:32:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/fce5c7448330365e114d3f7c1dc7eb574b9e05a92623bb2c684f743a8494b1c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-07-16T05:32:29.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/c2db40f522729588887339daeb17341b66a81082f3ccb47f6f78b54bfca1b0b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.6",
      "date": "2026-07-16T05:32:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/4d66a863d3030f8d5f7d29c65ea7265267c52e05911e2f31b71bad5f4c7f38c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-07-16T05:35:22.000Z",
      "arch": "aarch64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/8ed455cac66dad6d605de8e6a61ccd3c0c2471db46a6c51e3ec6a6a583292d0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-07-16T05:35:18.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/006bd593cce4effb625b5d7ba2f3f627c3852c3cd9a0476accce572943d73dbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-07-16T05:34:25.000Z",
      "arch": "aarch64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/43f418cbbb6a867f83b024694031e71de9479bc9fe4e30719d133fbb9f09c4bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1.6",
      "date": "2026-07-16T05:33:38.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/935b8c0d50d943fa421877d228b739324debee14acdc1291a1c186de442d691f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.6",
      "date": "2026-07-16T05:32:09.000Z",
      "arch": "emscripten",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/794ab4c100506cf4a79968a57a50df763d70fb777ad7c065546508904e74591d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.6",
      "date": "2026-07-16T05:31:05.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/248d85e40b9557dc5c6a9b29db6ecc18423de75676f5f01164bf1370d2ae2b2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.6",
      "date": "2026-07-16T05:31:01.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/da5d2b579c2bcb2c5f16bc4822ae217ae4912cfeefa54a72124cc31dc48e30eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.6",
      "date": "2026-07-16T05:31:04.000Z",
      "arch": "x86_64",
      "commit": "a1966795e6879ba860d357289aaad039d76f2678",
      "fileid": "https://r2.ropensci.org/28cdd8593acaa1ea1e30029e7d7a9bb72e1228dd5bc08f45cc9a9ecda075d937",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/veseshan/actions/runs/29473912628"
    }
  ]
}