{
  "_id": "6a0f66e5acfb0bcc41c5d5ff",
  "Package": "bpcp",
  "Type": "Package",
  "Title": "Beta Product Confidence Procedure for Right Censored Data",
  "Version": "1.5.1",
  "Date": "2026-02-17",
  "Authors@R": "c(person(given = c(\"Michael\", \"P.\"),\nfamily = \"Fay\",\nrole = c(\"aut\", \"cre\"),\nemail = \"mfay@niaid.nih.gov\"),\nperson(given = \"Allyson\",\nfamily = \"Mateja\",\nrole = \"ctb\"),\nperson(given = \"Megan\",\nfamily = \"Grieco\",\nrole = \"ctb\"))",
  "Description": "Calculates nonparametric pointwise confidence intervals\nfor the survival distribution for right censored data, and for\nmedians [Fay and Brittain <DOI:10.1002/sim.6905>]. Has\ntwo-sample tests for dissimilarity (e.g., difference, ratio or\nodds ratio) in survival at a fixed time, and differences in\nmedians [Fay, Proschan, and Brittain <DOI:10.1111/biom.12231>].\nBasically, the package gives exact inference methods for one-\nand two-sample exact inferences for Kaplan-Meier curves (e.g.,\ngeneralizing Fisher's exact test to allow for right censoring),\nwhich are especially important for latter parts of the survival\ncurve, small sample sizes or heavily censored data. Includes\nmid-p options.",
  "License": "GPL (>= 2)",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-21 09:44:33 UTC",
    "User": "root"
  },
  "Config/testthat/edition": "3",
  "Author": "Michael P. Fay [aut, cre], Allyson Mateja [ctb], Megan Grieco\n[ctb]",
  "Maintainer": "Michael P. Fay <mfay@niaid.nih.gov>",
  "Repository": "https://michaelfay-niaid.r-universe.dev",
  "Date/Publication": "2026-02-19 06:10:39 UTC",
  "RemoteUrl": "https://github.com/cran/bpcp",
  "RemoteRef": "HEAD",
  "RemoteSha": "e329a568ddcc66ae11e703aeed23607ac5ced476",
  "MD5sum": "3771a2c04ea0f41c4bc6047f307db838",
  "_user": "michaelfay-niaid",
  "_type": "src",
  "_file": "bpcp_1.5.1.tar.gz",
  "_fileid": "b9173c42887721f9e19e28d5b4a8b705f8e4b2ae357e5153aaf8e274a1ad4633",
  "_filesize": 519633,
  "_sha256": "b9173c42887721f9e19e28d5b4a8b705f8e4b2ae357e5153aaf8e274a1ad4633",
  "_created": "2026-05-21T09:44:33.000Z",
  "_published": "2026-05-21T20:11:17.481Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77259327375,
      "time": 206,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7132539296"
    },
    {
      "job": 77259327485,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132540116"
    },
    {
      "job": 77259327663,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7132513860"
    },
    {
      "job": 77259327365,
      "time": 325,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132581051"
    },
    {
      "job": 77259326721,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132466755"
    },
    {
      "job": 77259326782,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146106141"
    },
    {
      "job": 77259327384,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7132517290"
    },
    {
      "job": 77259327784,
      "time": 154,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7132521801"
    },
    {
      "job": 77259327792,
      "time": 146,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7132518758"
    }
  ],
  "_buildurl": "https://github.com/r-universe/michaelfay-niaid/actions/runs/26218239317",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/bpcp",
  "_commit": {
    "id": "e329a568ddcc66ae11e703aeed23607ac5ced476",
    "author": "Michael P. Fay <mfay@niaid.nih.gov>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.5.1\n",
    "time": 1771481439
  },
  "_maintainer": {
    "name": "Michael P. Fay",
    "email": "mfay@niaid.nih.gov",
    "login": "michaelfay-niaid",
    "description": "I am a biostatistician and maintain several R packages,",
    "uuid": 212777592
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "exact2x2",
      "role": "Suggests"
    },
    {
      "package": "exactci",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "survminer",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "abind",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-08",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.5.1",
      "date": "2026-02-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "michaelfay-niaid",
      "count": 14,
      "uuid": 212777592
    }
  ],
  "_userbio": {
    "uuid": 212777592,
    "type": "user",
    "name": "Michael P Fay",
    "description": "I am a biostatistician and maintain several R packages,"
  },
  "_downloads": {
    "count": 2669,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bpcp"
  },
  "_searchresults": 36,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bpcp.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "michaelfay-niaid",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2012-06-29"
    },
    {
      "version": "1.0.0",
      "date": "2013-06-05"
    },
    {
      "version": "1.1.0",
      "date": "2014-04-30"
    },
    {
      "version": "1.2.4",
      "date": "2014-11-21"
    },
    {
      "version": "1.2.5",
      "date": "2015-06-04"
    },
    {
      "version": "1.2.6",
      "date": "2015-07-02"
    },
    {
      "version": "1.3.0",
      "date": "2016-01-19"
    },
    {
      "version": "1.3.1",
      "date": "2016-01-20"
    },
    {
      "version": "1.3.2",
      "date": "2016-03-28"
    },
    {
      "version": "1.3.3",
      "date": "2016-05-04"
    },
    {
      "version": "1.3.4",
      "date": "2016-06-14"
    },
    {
      "version": "1.4",
      "date": "2019-12-07"
    },
    {
      "version": "1.4.2",
      "date": "2022-03-12"
    },
    {
      "version": "1.5.1",
      "date": "2026-02-19"
    }
  ],
  "_exports": [
    "abmm",
    "betaMeldTest",
    "betaMeldTestMidp.mc",
    "borkowf.calc",
    "bpcp",
    "bpcp.mc",
    "bpcp.mm",
    "bpcp2samp",
    "bpcp2sampControl",
    "bpcpControl",
    "bpcpfit",
    "bpcpMidp.mm",
    "bpcpTesttime",
    "BtCI",
    "calc_eqS1",
    "calc_eqS2",
    "calc_sigma",
    "citoLR",
    "create.htest",
    "create.kmciLR",
    "create.twosamp",
    "delta.calc",
    "delta2samp",
    "fixtdiff",
    "get_all_times",
    "get_dh",
    "get_g",
    "get_ginv",
    "get_h",
    "get_hinv",
    "getmarks",
    "getmarks.x",
    "intChar",
    "kmci1TG",
    "kmciBorkowf",
    "kmciDelta",
    "kmcilog",
    "kmciSW",
    "kmciTG",
    "kmConstrain",
    "kmConstrainBeta.calc",
    "kmgw.calc",
    "kmtestALL",
    "kmtestConstrainBeta",
    "kmtestConstrainBoot",
    "mdiffmedian.test",
    "meldMC",
    "parmtype_to_trans",
    "qqbeta",
    "rejectFromInt",
    "StCI",
    "tidykmciLR",
    "twosampleChecks",
    "uvab",
    "zero.one.adjust"
  ],
  "_datasets": [
    {
      "name": "leuk",
      "title": "Acute Leukemia data (treatment only) from Freireich et al (1963).",
      "object": "leuk",
      "file": "leuk.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "status"
      ],
      "rows": 21,
      "table": true,
      "tojson": true
    },
    {
      "name": "leuk2",
      "title": "Acute Leukemia data from Freireich et al (1963).",
      "object": "leuk2",
      "file": "leuk2.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "status",
        "treatment",
        "pair"
      ],
      "rows": 42,
      "table": true,
      "tojson": true
    },
    {
      "name": "sclerosis",
      "title": "Pilot study of treatment of severe systemic sclerosis (Nash, et al, 2007).",
      "object": "sclerosis",
      "file": "sclerosis.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "day",
        "year",
        "status"
      ],
      "rows": 34,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bpcp-package",
      "title": "Pointwise Confidence Intervals Associated with the Survival Distribution for Right Censored Data",
      "topics": [
        "bpcp-package"
      ]
    },
    {
      "page": "betaMeldTest",
      "title": "Melded Beta Test",
      "topics": [
        "betaMeldTest"
      ]
    },
    {
      "page": "bpcp2samp",
      "title": "Melded BPCP test",
      "topics": [
        "bpcp2samp",
        "delta2samp"
      ]
    },
    {
      "page": "bpcp2sampControl",
      "title": "Control function for 'bpcp2samp'",
      "topics": [
        "bpcp2sampControl"
      ]
    },
    {
      "page": "bpcpControl",
      "title": "Inputs for adjusting numerical calculations in 'bpcp'",
      "topics": [
        "bpcpControl"
      ]
    },
    {
      "page": "fixtdiff",
      "title": "Two sample test for Difference in Survival at Fixed Time",
      "topics": [
        "fixtdiff"
      ]
    },
    {
      "page": "kmci.object",
      "title": "Kaplan-Meier (Survival Curve) Confidence Interval Object",
      "topics": [
        "kmci",
        "kmci.object"
      ]
    },
    {
      "page": "kmciLR.object",
      "title": "Kaplan-Meier (Survival Curve) Confidence Interval LR Tidy Object",
      "topics": [
        "kmciLR",
        "kmciLR.object"
      ]
    },
    {
      "page": "kmciLRgroup.object",
      "title": "Kaplan-Meier (Survival Curve) Confidence Interval LR Group Object",
      "topics": [
        "kmciLRgroup",
        "kmciLRgroup.object"
      ]
    },
    {
      "page": "kmciLRtidy.object",
      "title": "Kaplan-Meier (Survival Curve) Confidence Interval LR Tidy Object",
      "topics": [
        "kmciLRtidy",
        "kmciLRtidy.object"
      ]
    },
    {
      "page": "kmciALL",
      "title": "Pointwise confidence intervals for survival for right censored data.",
      "topics": [
        "bpcp",
        "bpcpfit",
        "bpcpfit.default",
        "bpcpfit.formula",
        "kmci1TG",
        "kmciBorkowf",
        "kmciSW",
        "kmciTG",
        "kmtestALL",
        "kmtestBoot",
        "kmtestConstrainBeta",
        "kmtestConstrainBoot"
      ]
    },
    {
      "page": "leuk",
      "title": "Acute Leukemia data (treatment only) from Freireich et al (1963).",
      "topics": [
        "leuk"
      ]
    },
    {
      "page": "leuk2",
      "title": "Acute Leukemia data from Freireich et al (1963).",
      "topics": [
        "leuk2"
      ]
    },
    {
      "page": "mdiffmedian.test",
      "title": "Melded Difference in Medians Test",
      "topics": [
        "mdiffmedian.test"
      ]
    },
    {
      "page": "plot.kmciLR",
      "title": "Plot and lines methods for 'kmci', 'kmciLR', 'kmciLRtidy', and 'kmciLRgroup' objects.",
      "topics": [
        "lines.kmci",
        "lines.kmciLR",
        "plot.kmci",
        "plot.kmciLR",
        "plot.kmciLRgroup",
        "plot.kmciLRtidy"
      ]
    },
    {
      "page": "plot.twosamp",
      "title": "Plot methods for 'twosamp' objects.",
      "topics": [
        "plot.twosamp",
        "plot.twosamptidy"
      ]
    },
    {
      "page": "print.kmciLRtidy",
      "title": "Print A Short Summary of a kmciLRtidy, kmciLRgroup, or kmciLR Object",
      "topics": [
        "print.kmciLR",
        "print.kmciLRgroup",
        "print.kmciLRtidy"
      ]
    },
    {
      "page": "quantile.kmciLR",
      "title": "Quantiles or Medians from 'kmci', 'kmciLR', 'kmciLRtidy', or 'kmciLRgroup' objects.",
      "topics": [
        "median.kmci",
        "median.kmciLR",
        "median.kmciLRgroup",
        "median.kmciLRtidy",
        "quantile.kmci",
        "quantile.kmciLR",
        "quantile.kmciLRgroup",
        "quantile.kmciLRtidy"
      ]
    },
    {
      "page": "sclerosis",
      "title": "Pilot study of treatment of severe systemic sclerosis (Nash, et al, 2007).",
      "topics": [
        "sclerosis"
      ]
    },
    {
      "page": "StCI",
      "title": "Get survival and confidence interval at t from 'kmci', 'kmciLR', or 'survfit' object",
      "topics": [
        "StCI",
        "StCI.default",
        "StCI.kmci",
        "StCI.kmciLR",
        "StCI.kmciLRtidy"
      ]
    },
    {
      "page": "summary.kmciLR",
      "title": "Summary method for 'kmci', 'kmciLR', 'kmciLRtidy', or 'kmciLRgroup' object.",
      "topics": [
        "summary.kmci",
        "summary.kmciLR",
        "summary.kmciLRgroup",
        "summary.kmciLRtidy"
      ]
    },
    {
      "page": "summary.twosamp",
      "title": "Summary method for 'twosamp' object.",
      "topics": [
        "summary.twosamp"
      ]
    },
    {
      "page": "tidykmciLR",
      "title": "Dataframe of 'kmciLRtidy', 'kmciLRgroup', or a 'kmciLR' object.",
      "topics": [
        "tidykmciLR"
      ]
    },
    {
      "page": "twosamp.object",
      "title": "Two-sample Confidence Interval Object",
      "topics": [
        "twosamp",
        "twosamp.object"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "Matrix",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "discreteBPCP.Rnw",
      "filename": "discreteBPCP.pdf",
      "title": "Beta Product Confidence Procedure Confidence Intervals and Discrete Data",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2016-01-19 23:48:07",
      "modified": "2016-03-28 16:51:55",
      "commits": 3
    }
  ],
  "_score": 3.9368935839941197,
  "_indexed": true,
  "_nocasepkg": "bpcp",
  "_universes": [
    "michaelfay-niaid"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-05-21T09:47:23.000Z",
      "distro": "noble",
      "commit": "e329a568ddcc66ae11e703aeed23607ac5ced476",
      "fileid": "17054110e8aed6a77e6f2836af6dc5d400dd94667290c8e6aa4c04c4641c7a48",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelfay-niaid/actions/runs/26218239317"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.1",
      "date": "2026-05-21T09:47:25.000Z",
      "distro": "noble",
      "commit": "e329a568ddcc66ae11e703aeed23607ac5ced476",
      "fileid": "8e3a8684a803abfb4dde34fe82eb61e4b691dd5211bea4f9bb06f79c57db7ad3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelfay-niaid/actions/runs/26218239317"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-05-21T09:46:21.000Z",
      "commit": "e329a568ddcc66ae11e703aeed23607ac5ced476",
      "fileid": "20f6a5fdb20d3aa5e02075c5f9bbe589660e3fbd07049912ad47d8e1b22df820",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelfay-niaid/actions/runs/26218239317"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.1",
      "date": "2026-05-21T09:48:07.000Z",
      "commit": "e329a568ddcc66ae11e703aeed23607ac5ced476",
      "fileid": "524207c4401b822d9ac4b6a1fcf3ddca93271a990d14fc190aea37d9db1ce46b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelfay-niaid/actions/runs/26218239317"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.1",
      "date": "2026-05-21T20:10:53.000Z",
      "commit": "e329a568ddcc66ae11e703aeed23607ac5ced476",
      "fileid": "00508d80bdb7d86e671b2bb9820658c07ffae004a45c9f5cb00f3a806aa647ad",
      "status": "success",
      "buildurl": "https://github.com/r-universe/michaelfay-niaid/actions/runs/26218239317"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-05-21T09:46:03.000Z",
      "commit": "e329a568ddcc66ae11e703aeed23607ac5ced476",
      "fileid": "1369c7b2971330583191c21936f8f74017380945ad93d0062b125a0f1a5abb60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelfay-niaid/actions/runs/26218239317"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-05-21T09:46:16.000Z",
      "commit": "e329a568ddcc66ae11e703aeed23607ac5ced476",
      "fileid": "ee1ce34aa12a90f00db35cc425452b14d9c23547631a98506d135ae561c3ff89",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelfay-niaid/actions/runs/26218239317"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.1",
      "date": "2026-05-21T09:46:06.000Z",
      "commit": "e329a568ddcc66ae11e703aeed23607ac5ced476",
      "fileid": "4bc82449ff59fff0c59a75399f4a306dc98ce22487e7a6e9929798fb6d367a00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/michaelfay-niaid/actions/runs/26218239317"
    }
  ]
}