{
  "_id": "6a1554c6acfb0bcc41d5cffd",
  "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-05-26 08:02:47 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",
  "MD5sum": "4ceaac6e120df915c75a820a7ad40aeb",
  "_user": "anjapago",
  "_type": "src",
  "_file": "ocp_0.1.1.tar.gz",
  "_fileid": "57daa2080f3ced251dcfe3cde01218ada41e0492c36cfe4819388638651a03ec",
  "_filesize": 2027792,
  "_sha256": "57daa2080f3ced251dcfe3cde01218ada41e0492c36cfe4819388638651a03ec",
  "_created": "2026-05-26T08:02:47.000Z",
  "_published": "2026-05-26T08:07:33.990Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77832245905,
      "time": 238,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7211910306"
    },
    {
      "job": 77832245976,
      "time": 232,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7211908126"
    },
    {
      "job": 77832245975,
      "time": 169,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7211906496"
    },
    {
      "job": 77832245895,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7211897877"
    },
    {
      "job": 77831753700,
      "time": 190,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211838754"
    },
    {
      "job": 77832245969,
      "time": 150,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7211883872"
    },
    {
      "job": 77832245955,
      "time": 145,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7211882920"
    },
    {
      "job": 77832245947,
      "time": 127,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7211877272"
    },
    {
      "job": 77832245916,
      "time": 140,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7211880886"
    }
  ],
  "_buildurl": "https://github.com/r-universe/anjapago/actions/runs/26439972899",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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"
  },
  "_downloads": {
    "count": 393,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ocp"
  },
  "_devurl": "https://github.com/anjapago/ocp",
  "_searchresults": 25,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ocp.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.096910013008056,
  "_indexed": true,
  "_nocasepkg": "ocp",
  "_universes": [
    "anjapago"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-26T08:06:02.000Z",
      "distro": "noble",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "90f90b32b50b4e7e6fe00b269e31e63db9602d72e6123f711a9fb04ff120b976",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/26439972899"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-05-26T08:06:01.000Z",
      "distro": "noble",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "cce6753ddf2b3771f2cdf62f2a051a4f54d65d3ab106af9fb754207133e4fd92",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/26439972899"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-26T08:06:14.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "145bf396925e78e8d206a80fd67aa80f5017f17b94a990c9d3ba1315de532ee1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/26439972899"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-05-26T08:05:44.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "ce640652be366b2f22e1e5de4e8c4b68647e1b1f5f12ea9b78fae9f86fb560dc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/26439972899"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-05-26T08:05:37.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "311615e460c47caccd40ad7be5b95b710f00aacd9c41adaa4020f00a55aeb561",
      "status": "success",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/26439972899"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-26T08:04:24.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "451c3129ebae62e4a2480c0885f9720c4b273219afb8c14c42f166f3a35c3a76",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/26439972899"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-26T08:03:55.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "acf666b9dff52c39d09dc37609dcb6396a1c4883b62755820c5baedd7478aa14",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/26439972899"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-05-26T08:04:02.000Z",
      "commit": "9b3e23bc794b19d5f23b63856388e564bdbe8c7a",
      "fileid": "8494e1a1e7337b28ef6b7bfb24434b01ecbdbb84e52a42e10bbe1287c9113fb7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/anjapago/actions/runs/26439972899"
    }
  ]
}