{
  "_id": "6aca7245fe5cc25786e89517",
  "Package": "ocp",
  "Type": "Package",
  "Title": "Bayesian Online Changepoint Detection",
  "Version": "0.1.1",
  "Author": "Andrea Pagotto",
  "Maintainer": "Andrea Pagotto <ajpagotto@gmail.com>",
  "Description": "Implements the Bayesian online changepoint detection\nmethod by Adams and MacKay (2007) <arXiv:0710.3742> for\nunivariate or multivariate data. Gaussian and Poisson\nprobability models are implemented. Provides post-processing\nfunctions with alternative ways to extract changepoints.",
  "Encoding": "UTF-8",
  "License": "GPL-3",
  "LazyData": "true",
  "RoxygenNote": "6.1.0.9000",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 16:11:04 UTC",
    "User": "root"
  },
  "Repository": "https://anjapago.r-universe.dev",
  "Date/Publication": "2019-04-20 03:10:49 UTC",
  "RemoteUrl": "https://github.com/anjapago/ocp",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
  "_user": "anjapago",
  "_type": "src",
  "_file": "ocp_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/334e1b665edc0e6f7c20dbf44c9d4c2f8b962916f110af7e8fffada096172348",
  "_filesize": 2027841,
  "_sha256": "334e1b665edc0e6f7c20dbf44c9d4c2f8b962916f110af7e8fffada096172348",
  "_expires": "2027-01-18T17:13:39.000Z",
  "_created": "2026-10-10T16:11:04.000Z",
  "_published": "2026-10-10T17:13:41.898Z",
  "_buildurl": "https://github.com/r-universe/anjapago/actions/runs/38066448303",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114255511733,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11674403764"
    },
    {
      "job": 114255511795,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11674764822"
    },
    {
      "job": 114255511796,
      "time": 151,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11677051052"
    },
    {
      "job": 114255511854,
      "time": 159,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11677150964"
    },
    {
      "job": 114255022740,
      "time": 144,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11675068973"
    },
    {
      "job": 114255511723,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11674819632"
    },
    {
      "job": 114255511879,
      "time": 134,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11674739868"
    },
    {
      "job": 114255511732,
      "time": 132,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11674824844"
    },
    {
      "job": 114255511718,
      "time": 133,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11675298636"
    }
  ],
  "_upstream": "https://github.com/anjapago/ocp",
  "_commit": {
    "id": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
    "author": "Andrea Pagotto <andreapagotto@Andreas-MacBook-Air.local>",
    "committer": "Andrea Pagotto <andreapagotto@Andreas-MacBook-Air.local>",
    "message": "update gitignore and rbuildignore\n",
    "time": 1555729849
  },
  "_maintainer": {
    "name": "Andrea Pagotto",
    "email": "ajpagotto@gmail.com",
    "login": "anjapago",
    "description": "",
    "uuid": 23108751
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "grid",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "anjapago",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_userbio": {
    "uuid": 23108751,
    "type": "user",
    "name": "anjapago",
    "followers": 12
  },
  "_downloads": {
    "count": 458,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ocp"
  },
  "_devurl": "https://github.com/anjapago/ocp",
  "_searchresults": 29,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/ocp.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/anjapago/ocp",
  "_realowner": "anjapago",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-12-27"
    },
    {
      "version": "0.1.1",
      "date": "2019-04-21"
    }
  ],
  "_exports": [
    "const_hazard",
    "initOCPD",
    "negbinpdf",
    "onlineCPD",
    "studentpdf"
  ],
  "_datasets": [
    {
      "name": "gamesdata",
      "title": "This is data to be included in the package",
      "object": "eurogames2016",
      "class": [
        "data.frame"
      ],
      "fields": [
        "data",
        "trueCPs",
        "Start of Game",
        "goal",
        "caution",
        "Half Time Begins",
        "Play Resumes",
        "substitution",
        "penalty-kick",
        "End of Game",
        "expulsion"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "gamesdatacounts",
      "title": "This is data to be included in the package",
      "object": "eurogames2016counts",
      "class": [
        "data.frame"
      ],
      "fields": [
        "data",
        "trueCPs"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ocp-package",
      "title": "Bayesian Online Changepoint Detection for Multivariate Data",
      "topics": [
        "ocp-package"
      ]
    },
    {
      "page": "const_hazard",
      "title": "Constant hazard function",
      "topics": [
        "const_hazard"
      ]
    },
    {
      "page": "findCPprobs",
      "title": "Find Set of Changepoints with Highest probability",
      "topics": [
        "findCPprobs"
      ]
    },
    {
      "page": "gamesdata",
      "title": "This is data to be included in the package",
      "topics": [
        "gamesdata"
      ]
    },
    {
      "page": "gamesdatacounts",
      "title": "This is data to be included in the package",
      "topics": [
        "gamesdatacounts"
      ]
    },
    {
      "page": "gaussian_init",
      "title": "Initialize vectors for gaussian probability functions",
      "topics": [
        "gaussian_init"
      ]
    },
    {
      "page": "gaussian_update",
      "title": "Update the gaussian parameters",
      "topics": [
        "gaussian_update"
      ]
    },
    {
      "page": "gaussianProb",
      "title": "Compute predictive probabilities based on Gaussian",
      "topics": [
        "gaussianProb"
      ]
    },
    {
      "page": "initOCPD",
      "title": "Initialize ocpd object",
      "topics": [
        "initOCPD"
      ]
    },
    {
      "page": "negbinpdf",
      "title": "Calculate Negative-binomial on vector of parameters",
      "topics": [
        "negbinpdf"
      ]
    },
    {
      "page": "onlineCPD",
      "title": "Bayesian Online Changepoint Detection",
      "topics": [
        "onlineCPD"
      ]
    },
    {
      "page": "plot.ocp",
      "title": "Plot Object",
      "topics": [
        "plot.ocp"
      ]
    },
    {
      "page": "poisson_init",
      "title": "Initialize vectors for poisson probability functions",
      "topics": [
        "poisson_init"
      ]
    },
    {
      "page": "poisson_update",
      "title": "Update the poisson parameters",
      "topics": [
        "poisson_update"
      ]
    },
    {
      "page": "poissonProb",
      "title": "Compute predictive probabilities based on Poisson",
      "topics": [
        "poissonProb"
      ]
    },
    {
      "page": "print.ocp",
      "title": "Print Object",
      "topics": [
        "print.ocp"
      ]
    },
    {
      "page": "str.ocp",
      "title": "Object Structure",
      "topics": [
        "str.ocp"
      ]
    },
    {
      "page": "studentpdf",
      "title": "Calculate Student PDF on vector of parameters",
      "topics": [
        "studentpdf"
      ]
    },
    {
      "page": "summary.ocp",
      "title": "Object Summary",
      "topics": [
        "summary.ocp"
      ]
    }
  ],
  "_readme": "https://github.com/anjapago/ocp/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to ocp Package",
      "author": "Andrea Pagotto",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Running Online Bayesian Changepoint Detection",
        "Generate Univariate Gaussian Data",
        "Run Basic Online Changepoint Detection",
        "Main Outputs",
        "Additional Outputs",
        "Online Changepoint Detection Function Options",
        "Settings affecting speed: getR, truncRlim, optionalOutputs",
        "Settings affecting truncation: truncRlim, maxRlength, minRlength",
        "Settings affecting probability model: probModel, init_params",
        "Gaussian Univariate",
        "Gaussian Multivariate",
        "Poisson Univariate",
        "Gaussian and Poisson Multivariate",
        "Missing Data Options"
      ],
      "created": "2019-04-19 20:35:56",
      "modified": "2019-04-19 20:35:56",
      "commits": 1
    }
  ],
  "_score": 4.161368002234975,
  "_indexed": true,
  "_nocasepkg": "ocp",
  "_universes": [
    "anjapago"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-10T16:12:53.000Z",
      "distro": "resolute",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "https://r2.ropensci.org/d232a3075ce441f3642e7c06466ea58849d44001dd228dfaccf8e50c7e802dd1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/38066448303"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-10T16:13:01.000Z",
      "distro": "resolute",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "https://r2.ropensci.org/0f6cb834df84c687b70aa3ef5069bd9bdabef6b64466a71faaf5e5f18f26de80",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/38066448303"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-10T17:11:09.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "https://r2.ropensci.org/2d41477c8061f4673565f5369ec0e03310583bc22e02d3bbd4f22266fe3679cd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/38066448303"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-10T17:12:14.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "https://r2.ropensci.org/060423df914b8c63749d1f8ea676993a55f42e6dca37ac1b9215273b7f6bf384",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/38066448303"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-10T16:12:54.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "https://r2.ropensci.org/c4933b709ae1ec9a76d51e13cb917963592a800ac1c30adbb925e9aaca7c8ffd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/38066448303"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-10T16:12:26.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "https://r2.ropensci.org/02f8fcf916cda0419c115f4b43043b5b57ea01f4f8aa602df525bd47e5e08d6b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/38066448303"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-10T16:12:14.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "https://r2.ropensci.org/00ac754edb5781a5612f1f9a13191925d9060bd79045024207a015b53597a25c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/38066448303"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-10T16:12:16.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "https://r2.ropensci.org/18a92f600e85d30aa945f82ed432c4653e6231c3169b039dd145b2a96d0e203a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/38066448303"
    }
  ]
}