{
  "_id": "6a2a92867b7a29ca6004d674",
  "Package": "BKP",
  "Title": "Beta Kernel Process Modeling",
  "Version": "0.2.3.9000",
  "Authors@R": "c(\nperson(given = \"Jiangyan\", family = \"Zhao\", email = \"zhaojy2017@126.com\", role = c(\"cre\", \"aut\")),\nperson(given = \"Kunhai\", family = \"Qing\", email = \"kunhaiq@qq.com\", role = \"aut\"),\nperson(given = \"Jin\", family = \"Xu\", email = \"jxu@stat.ecnu.edu.cn\", role = \"aut\")\n)",
  "Maintainer": "Jiangyan Zhao <zhaojy2017@126.com>",
  "Description": "Implements the Beta Kernel Process (BKP) for nonparametric\nmodeling of spatially varying binomial probabilities, together\nwith its extension, the Dirichlet Kernel Process (DKP), for\ncategorical or multinomial data. The package provides functions\nfor model fitting, predictive inference with uncertainty\nquantification, posterior simulation, and visualization in\none-and two-dimensional input spaces. Multiple kernel functions\n(Gaussian, Matern 5/2, and Matern 3/2) are supported, with\nhyperparameters optimized through multi-start gradient-based\nsearch. For more details, see Zhao, Qing, and Xu (2025)\n<doi:10.48550/arXiv.2508.10447>.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/Jiangyan-Zhao/BKP",
  "BugReports": "https://github.com/Jiangyan-Zhao/BKP/issues",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://jiangyan-zhao.r-universe.dev",
  "Date/Publication": "2026-06-11 10:06:20 UTC",
  "RemoteUrl": "https://github.com/jiangyan-zhao/bkp",
  "RemoteRef": "HEAD",
  "RemoteSha": "dbc49e5058fcccfeda5f536edba633ef39849253",
  "Packaged": {
    "Date": "2026-06-11 10:28:43 UTC",
    "User": "root"
  },
  "Author": "Jiangyan Zhao [cre, aut],\nKunhai Qing [aut],\nJin Xu [aut]",
  "MD5sum": "12c537cac85ebb3edce64fdccd217dbc",
  "_user": "jiangyan-zhao",
  "_type": "src",
  "_file": "BKP_0.2.3.9000.tar.gz",
  "_fileid": "d856256205b21a7cd2b7930db688d56999725e9f82a432aa7ad719f4b6b629f6",
  "_filesize": 1174078,
  "_sha256": "d856256205b21a7cd2b7930db688d56999725e9f82a432aa7ad719f4b6b629f6",
  "_created": "2026-06-11T10:28:43.000Z",
  "_published": "2026-06-11T10:48:38.962Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80776162664,
      "time": 203,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7561645994"
    },
    {
      "job": 80776162673,
      "time": 210,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7561648805"
    },
    {
      "job": 80776162689,
      "time": 217,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561651175"
    },
    {
      "job": 80776162615,
      "time": 203,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561646105"
    },
    {
      "job": 80776162698,
      "time": 179,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7561875583"
    },
    {
      "job": 80776162639,
      "time": 278,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7561919399"
    },
    {
      "job": 80776162634,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7561878070"
    },
    {
      "job": 80776162644,
      "time": 498,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561976583"
    },
    {
      "job": 80775525802,
      "time": 220,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561574602"
    },
    {
      "job": 80776162576,
      "time": 148,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561627233"
    },
    {
      "job": 80776162599,
      "time": 200,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7561644811"
    },
    {
      "job": 80776162589,
      "time": 216,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7561650615"
    },
    {
      "job": 80776162594,
      "time": 243,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7561660203"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jiangyan-zhao/bkp",
  "_commit": {
    "id": "dbc49e5058fcccfeda5f536edba633ef39849253",
    "author": "Jiangyan Zhao <zhaojy2017@126.com>",
    "committer": "Jiangyan Zhao <zhaojy2017@126.com>",
    "message": "Implement optional effective-sample-size (ESS) calibration for the BKP model only.\n",
    "time": 1781172380
  },
  "_maintainer": {
    "name": "Jiangyan Zhao",
    "email": "zhaojy2017@126.com",
    "login": "jiangyan-zhao",
    "uuid": 44356918
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "nloptr",
      "role": "LinkingTo"
    },
    {
      "package": "dirmult",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "lattice",
      "role": "Imports"
    },
    {
      "package": "optimx",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tgp",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mlbench",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "jiangyan-zhao",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-25",
      "n": 3
    },
    {
      "week": "2025-27",
      "n": 2
    },
    {
      "week": "2025-28",
      "n": 5
    },
    {
      "week": "2025-29",
      "n": 19
    },
    {
      "week": "2025-30",
      "n": 13
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 12
    },
    {
      "week": "2025-33",
      "n": 19
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 4
    },
    {
      "week": "2025-36",
      "n": 4
    },
    {
      "week": "2025-37",
      "n": 3
    },
    {
      "week": "2025-38",
      "n": 5
    },
    {
      "week": "2025-39",
      "n": 3
    },
    {
      "week": "2025-49",
      "n": 13
    },
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 3
    },
    {
      "week": "2026-06",
      "n": 3
    },
    {
      "week": "2026-07",
      "n": 8
    },
    {
      "week": "2026-09",
      "n": 7
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 7
    },
    {
      "week": "2026-14",
      "n": 5
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 3
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 4
    },
    {
      "week": "2026-23",
      "n": 11
    },
    {
      "week": "2026-24",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2025-07-24"
    },
    {
      "name": "v0.1.1",
      "date": "2025-08-19"
    },
    {
      "name": "v0.2.0",
      "date": "2025-09-16"
    }
  ],
  "_topics": [
    "bayesian-nonparametric-models",
    "beta-binomial",
    "beta-kernel-process",
    "beta-process",
    "dirichlet-kernel-process",
    "dirichlet-multinomial",
    "dirichlet-process",
    "kernel-methods",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "jiangyan-zhao",
      "count": 168,
      "uuid": 44356918
    },
    {
      "user": "kunhaiq",
      "count": 18,
      "uuid": 190313274
    }
  ],
  "_userbio": {
    "uuid": 44356918,
    "type": "user",
    "name": "Jiangyan Zhao",
    "description": "Postdoctoral Fellow in Statistics, East China Normal University."
  },
  "_downloads": {
    "count": 204,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BKP"
  },
  "_devurl": "https://github.com/jiangyan-zhao/bkp",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BKP.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jiangyan-zhao/bkp",
  "_realowner": "jiangyan-zhao",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-07-23"
    },
    {
      "version": "0.1.1",
      "date": "2025-08-19"
    },
    {
      "version": "0.2.0",
      "date": "2025-09-16"
    },
    {
      "version": "0.2.1",
      "date": "2025-09-17"
    },
    {
      "version": "0.2.2",
      "date": "2025-09-17"
    },
    {
      "version": "0.2.3",
      "date": "2025-09-22"
    }
  ],
  "_exports": [
    "fit_BKP",
    "fit_DKP",
    "fit_TwinBKP",
    "fit_TwinDKP",
    "get_prior",
    "kernel_matrix",
    "loss_fun",
    "parameter"
  ],
  "_help": [
    {
      "page": "BKP-package",
      "title": "Beta Kernel Process Modeling",
      "topics": [
        "BKP-package"
      ]
    },
    {
      "page": "fit_BKP",
      "title": "Fit a Beta Kernel Process (BKP) Model",
      "topics": [
        "fit_BKP"
      ]
    },
    {
      "page": "fit_DKP",
      "title": "Fit a Dirichlet Kernel Process (DKP) Model",
      "topics": [
        "fit_DKP"
      ]
    },
    {
      "page": "fit_TwinBKP",
      "title": "Fit a Twin Beta Kernel Process (TwinBKP) Model",
      "topics": [
        "fit_TwinBKP"
      ]
    },
    {
      "page": "fit_TwinDKP",
      "title": "Fit a Twin Dirichlet Kernel Process (TwinDKP) Model",
      "topics": [
        "fit_TwinDKP"
      ]
    },
    {
      "page": "fitted",
      "title": "Extract BKP or DKP Model Fitted Values",
      "topics": [
        "fitted",
        "fitted.BKP",
        "fitted.DKP",
        "fitted.TwinBKP",
        "fitted.TwinDKP"
      ]
    },
    {
      "page": "get_prior",
      "title": "Construct Prior Parameters for BKP/DKP Models",
      "topics": [
        "get_prior"
      ]
    },
    {
      "page": "kernel_matrix",
      "title": "Compute Kernel Matrix Between Input Locations",
      "topics": [
        "kernel_matrix"
      ]
    },
    {
      "page": "loss_fun",
      "title": "Loss Function for BKP and DKP Models",
      "topics": [
        "loss_fun"
      ]
    },
    {
      "page": "parameter",
      "title": "Extract Model Parameters from a Fitted BKP or DKP Model",
      "topics": [
        "parameter",
        "parameter.BKP",
        "parameter.DKP"
      ]
    },
    {
      "page": "plot",
      "title": "Plot Fitted BKP or DKP Models",
      "topics": [
        "plot",
        "plot.BKP",
        "plot.DKP",
        "plot.TwinBKP",
        "plot.TwinDKP"
      ]
    },
    {
      "page": "predict",
      "title": "Posterior Prediction for BKP or DKP Models",
      "topics": [
        "predict",
        "predict.BKP",
        "predict.DKP"
      ]
    },
    {
      "page": "predict.TwinBKP",
      "title": "Predict from a Fitted TwinBKP Model",
      "topics": [
        "predict.TwinBKP"
      ]
    },
    {
      "page": "predict.TwinDKP",
      "title": "Predict from a Fitted TwinDKP Model",
      "topics": [
        "predict.TwinDKP"
      ]
    },
    {
      "page": "print",
      "title": "Print Methods for BKP and DKP Objects",
      "topics": [
        "print",
        "print.BKP",
        "print.DKP",
        "print.predict_BKP",
        "print.predict_DKP",
        "print.predict_TwinDKP",
        "print.simulate_BKP",
        "print.simulate_DKP",
        "print.simulate_TwinBKP",
        "print.simulate_TwinDKP",
        "print.summary_BKP",
        "print.summary_DKP",
        "print.summary_TwinBKP",
        "print.summary_TwinDKP",
        "print.TwinBKP",
        "print.TwinDKP"
      ]
    },
    {
      "page": "quantile",
      "title": "Posterior Quantiles from a Fitted BKP or DKP Model",
      "topics": [
        "quantile",
        "quantile.BKP",
        "quantile.DKP",
        "quantile.TwinBKP",
        "quantile.TwinDKP"
      ]
    },
    {
      "page": "simulate",
      "title": "Simulate from a Fitted BKP or DKP Model",
      "topics": [
        "simulate",
        "simulate.BKP",
        "simulate.DKP",
        "simulate.TwinBKP",
        "simulate.TwinDKP"
      ]
    },
    {
      "page": "summary",
      "title": "Summary of a Fitted BKP or DKP Model",
      "topics": [
        "summary",
        "summary.BKP",
        "summary.DKP",
        "summary.TwinBKP",
        "summary.TwinDKP"
      ]
    }
  ],
  "_pkglogo": "https://github.com/jiangyan-zhao/bkp/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/jiangyan-zhao/bkp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cluster",
    "cpp11",
    "dirmult",
    "farver",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "maptree",
    "nloptr",
    "numDeriv",
    "optimx",
    "pracma",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "tgp",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 4.204119982655925,
  "_indexed": true,
  "_nocasepkg": "bkp",
  "_universes": [
    "jiangyan-zhao"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:31:36.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "d22b4d75dcc470e8fc591538f605b67e62268fd2f4335c67dba978e95d737114",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:31:46.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "6794e78e4ea379507b735bf8e3bd1146eeff106f870a0f1234e0f69ccc3925c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:31:47.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "4dfbc6edb3d3bc80695b19f414664d8870f44e05709f7a61f109ffae373e6925",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:31:38.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "bfadda220534929f906c6fbdf1f469c86c3f95889811810fdbbfa1cb5b017a4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:42:23.000Z",
      "arch": "aarch64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "c2b8f42e14513defae1f17e9d33e8b4b90c0065e9336cb29314be22f1aaf6fae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:43:49.000Z",
      "arch": "x86_64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "80d03752730d1a79f55213fb8596e79816c2926cc90694c262fd50ffbdb23a09",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:42:53.000Z",
      "arch": "aarch64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "8a0a962f3f5fdf825b7fa128bbadfc4eff26e226f481fdd2ab18837145545b9f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:44:03.000Z",
      "arch": "x86_64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "ef1cb83a9b25c0116f325fac050f51ee3a7756d4c483c610a3dedc58e1cf7217",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:31:32.000Z",
      "arch": "emscripten",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "5d71481d20b97eed83c5471aa106f199be8a034c8a3e5b0c0094789655134d11",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:30:43.000Z",
      "arch": "x86_64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "2486280ef6cb0dcaea44585624a8276b6a668c8721f5f1f57dbb1b2d3f86db69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:30:52.000Z",
      "arch": "x86_64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "b67c14cf819ccc91be54467bfc4097d69f625b0d61dc40afafc5e158f881f66f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3.9000",
      "date": "2026-06-11T10:30:46.000Z",
      "arch": "x86_64",
      "commit": "dbc49e5058fcccfeda5f536edba633ef39849253",
      "fileid": "c4a74e050e64964c9effe204fabcefec718d69b8fb3fb5db6f3a0007277a35d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jiangyan-zhao/actions/runs/27340418457"
    }
  ]
}