{
  "_id": "6a10264bacfb0bcc41c8f52d",
  "Type": "Package",
  "Package": "HistogramTools",
  "Title": "Utility Functions for R Histograms",
  "Version": "0.4.1",
  "Date": "2026-05-06",
  "Authors@R": "c(\nperson(\"Murray\", \"Stokely\", , \"murray@stokely.org\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0009-0008-3390-1338\")),\nperson(, \"Google, Inc.\", role = \"cph\"),\nperson(\"Tim\", \"Hesterberg\", , \"rocket@google.com\", role = \"ctb\")\n)",
  "Maintainer": "Murray Stokely <murray@stokely.org>",
  "Description": "Provides a number of utility functions useful for\nmanipulating large histograms.  This includes methods to trim,\nsubset, merge buckets, merge histograms, convert to CDF, and\ncalculate information loss due to binning.  It also provides a\nprotocol buffer representation of R's native histogram class to\nallow histograms over large data sets to be computed and\ncombined in distributed analytical pipelines.  Implements\nbin-by-bin histogram distance measures described in Rubner,\nTomasi and Guibas (2000) <doi:10.1023/A:1026543900054>, Swain\nand Ballard (1991) <doi:10.1007/BF00130487>, and Puzicha,\nHofmann and Buhmann (1997) <doi:10.1109/CVPR.1997.609331>, and\naverage shifted histograms as in Scott (2015,\nISBN:9781118575536).",
  "License": "Apache License 2.0",
  "URL": "https://github.com/murraystokely/histogramtools",
  "BugReports": "https://github.com/murraystokely/histogramtools/issues",
  "Classification/ACM": "G.3",
  "Config/testthat/edition": "3",
  "Copyright": "Copyright 2011-2015 Google, Inc. Copyright 2026 Murray\nStokely",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://murraystokely.r-universe.dev",
  "Date/Publication": "2026-05-06 18:16:25 UTC",
  "RemoteUrl": "https://github.com/murraystokely/histogramtools",
  "RemoteRef": "HEAD",
  "RemoteSha": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 09:07:57 UTC",
    "User": "root"
  },
  "Author": "Murray Stokely [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0008-3390-1338>),\nGoogle, Inc. [cph],\nTim Hesterberg [ctb]",
  "MD5sum": "2cf91ae456376da66aef39c61de5bde7",
  "_user": "murraystokely",
  "_type": "src",
  "_file": "HistogramTools_0.4.1.tar.gz",
  "_fileid": "c2c63c0042062e573c54db38d35de625f549dce79ed837f7a5977d5f7402f4e2",
  "_filesize": 612428,
  "_sha256": "c2c63c0042062e573c54db38d35de625f549dce79ed837f7a5977d5f7402f4e2",
  "_created": "2026-05-13T09:07:57.000Z",
  "_published": "2026-05-22T09:47:55.022Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77355650682,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966016620"
    },
    {
      "job": 77355650938,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966012659"
    },
    {
      "job": 77355651021,
      "time": 158,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966006079"
    },
    {
      "job": 77355651239,
      "time": 223,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966026504"
    },
    {
      "job": 77355650479,
      "time": 188,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965959222"
    },
    {
      "job": 77355650347,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157620230"
    },
    {
      "job": 77355650866,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965997236"
    },
    {
      "job": 77355651363,
      "time": 145,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966014181"
    },
    {
      "job": 77355650747,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965993245"
    }
  ],
  "_buildurl": "https://github.com/r-universe/murraystokely/actions/runs/25789358415",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/murraystokely/histogramtools",
  "_commit": {
    "id": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
    "author": "Murray Stokely <murray@stokely.org>",
    "committer": "Murray Stokely <murray@stokely.org>",
    "message": "Add release dates to 0.4.0 and 0.4.1 NEWS entries\n\nRestores the (YYYY-MM-DD) suffix used on every prior NEWS.md heading\nback through 0.1, so the timeline reads consistently end-to-end.\n",
    "time": 1778091385
  },
  "_maintainer": {
    "name": "Murray Stokely",
    "email": "murray@stokely.org",
    "login": "murraystokely",
    "linkedin": "in/murraystokely",
    "uuid": 4992749
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ash",
      "role": "Imports"
    },
    {
      "package": "Hmisc",
      "role": "Imports"
    },
    {
      "package": "emdist",
      "role": "Suggests"
    },
    {
      "package": "gdata",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "RProtoBuf",
      "role": "Enhances"
    }
  ],
  "_owner": "murraystokely",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-18",
      "n": 2
    },
    {
      "week": "2026-19",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.4.1",
      "date": "2026-05-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "murraystokely",
      "count": 226,
      "uuid": 4992749
    },
    {
      "user": "theussl",
      "count": 1,
      "uuid": 22165873
    }
  ],
  "_userbio": {
    "uuid": 4992749,
    "type": "user",
    "name": "Murray Stokely"
  },
  "_downloads": {
    "count": 14,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/HistogramTools"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/murraystokely/histogramtools",
  "_searchresults": 63,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/HistogramTools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/murraystokely/histogramtools",
  "_realowner": "murraystokely",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1",
      "date": "2013-09-13"
    },
    {
      "version": "0.2",
      "date": "2013-10-03"
    },
    {
      "version": "0.3",
      "date": "2013-12-11"
    },
    {
      "version": "0.3.1",
      "date": "2014-08-26"
    },
    {
      "version": "0.3.2",
      "date": "2015-07-29"
    },
    {
      "version": "0.4.1",
      "date": "2026-05-12"
    }
  ],
  "_exports": [
    "AddHistograms",
    "ApproxMean",
    "ApproxQuantile",
    "as.histogram",
    "as.histogram.Message",
    "as.Message",
    "as.Message.histogram",
    "Count",
    "EMDCC",
    "HistToASH",
    "HistToEcdf",
    "intersect.dist",
    "IntersectHistograms",
    "jeffrey.divergence",
    "kl.divergence",
    "KSDCC",
    "MergeBuckets",
    "minkowski.dist",
    "PlotEMDCC",
    "PlotKSDCC",
    "PlotLog2ByteEcdf",
    "PlotLogTimeDurationEcdf",
    "PlotRelativeFrequency",
    "PreBinnedHistogram",
    "ReadHistogramsFromDtraceOutputFile",
    "ScaleHistogram",
    "SubsetHistogram",
    "TrimHistogram"
  ],
  "_help": [
    {
      "page": "HistogramTools-package",
      "title": "HistogramTools package",
      "topics": [
        "HistogramTools-package",
        "histogram",
        "HistogramTools"
      ]
    },
    {
      "page": "merge",
      "title": "Aggregate histograms that have identical breaks.",
      "topics": [
        ".NewHistogramName",
        "AddHistograms"
      ]
    },
    {
      "page": "histogram-message",
      "title": "Convert histogram protocol buffers to histogram objects",
      "topics": [
        "as.histogram",
        "as.histogram.default",
        "as.histogram.Message"
      ]
    },
    {
      "page": "message-histogram",
      "title": "Convert R histograms to Protocol Buffer representation",
      "topics": [
        "as.Message",
        "as.Message.histogram"
      ]
    },
    {
      "page": "ash",
      "title": "Average Shifted Histograms From a Histogram.",
      "topics": [
        "HistToASH"
      ]
    },
    {
      "page": "dtrace",
      "title": "Read Histograms from text DTrace output file.",
      "topics": [
        "dtrace",
        "ReadHistogramsFromDtraceOutputFile"
      ]
    },
    {
      "page": "bindist",
      "title": "Histogram Distance Measures",
      "topics": [
        "intersect.dist",
        "jeffrey.divergence",
        "kl.divergence",
        "minkowski.dist"
      ]
    },
    {
      "page": "ecdfofhist",
      "title": "Empirical Cumulative Distribution Function From a Histogram.",
      "topics": [
        "HistToEcdf"
      ]
    },
    {
      "page": "informationloss",
      "title": "Information Loss Metrics for Histograms",
      "topics": [
        "EMDCC",
        "KSDCC",
        "PlotEMDCC",
        "PlotKSDCC"
      ]
    },
    {
      "page": "intersect",
      "title": "Intersect Histograms",
      "topics": [
        "IntersectHistograms"
      ]
    },
    {
      "page": "mergebuckets",
      "title": "Merge adjacent buckets in a histogram to create a new histogram.",
      "topics": [
        "MergeBuckets"
      ]
    },
    {
      "page": "plot",
      "title": "Plot Binned Histogram and ECDF Data.",
      "topics": [
        "PlotLog2ByteEcdf",
        "PlotLogTimeDurationEcdf"
      ]
    },
    {
      "page": "plothist",
      "title": "Plot Relative Frequency Histogram",
      "topics": [
        "PlotRelativeFrequency"
      ]
    },
    {
      "page": "binning",
      "title": "PreBinnedHistogram",
      "topics": [
        "PreBinnedHistogram"
      ]
    },
    {
      "page": "quantiles",
      "title": "Histogram Approximate Quantiles.",
      "topics": [
        "ApproxMean",
        "ApproxQuantile",
        "Count"
      ]
    },
    {
      "page": "scale",
      "title": "Scale Histogram Counts",
      "topics": [
        "ScaleHistogram"
      ]
    },
    {
      "page": "subset",
      "title": "Subset a histogram by removing some of the buckets.",
      "topics": [
        "SubsetHistogram"
      ]
    },
    {
      "page": "trimsparse",
      "title": "Trim the tails of a sparse histogram.",
      "topics": [
        "TrimHistogram",
        "trimhistogram",
        "trimsparse"
      ]
    }
  ],
  "_readme": "https://github.com/murraystokely/histogramtools/raw/HEAD/README.md",
  "_rundeps": [
    "ash",
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "nnet",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "HistogramTools.Rnw",
      "filename": "HistogramTools.pdf",
      "title": "HistogramTools-Intro",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2013-07-12 09:13:32",
      "modified": "2026-05-06 18:12:41",
      "commits": 38
    },
    {
      "source": "HistogramTools-quickref.Rnw",
      "filename": "HistogramTools-quickref.pdf",
      "title": "HistogramTools-QuickRef",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2013-09-13 22:10:39",
      "modified": "2026-05-06 18:12:41",
      "commits": 10
    }
  ],
  "_score": 5.100370545117563,
  "_indexed": true,
  "_nocasepkg": "histogramtools",
  "_universes": [
    "murraystokely"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-05-13T09:10:17.000Z",
      "distro": "noble",
      "commit": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
      "fileid": "c88564ae5371b1e25b196b10a700b1f752b9e47bb2730fad575418e8367dd06d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/murraystokely/actions/runs/25789358415"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-05-13T09:10:08.000Z",
      "distro": "noble",
      "commit": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
      "fileid": "bc69b94d69a4be5735b2e95c807e119cef52e3e8247c1074f6edcfdf9c9e29c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/murraystokely/actions/runs/25789358415"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-05-13T09:09:56.000Z",
      "commit": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
      "fileid": "98b7189d32832885abd175b5f3e2ef5fe5b183178fd180505686c6e58d5bc793",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/murraystokely/actions/runs/25789358415"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.1",
      "date": "2026-05-13T09:10:34.000Z",
      "commit": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
      "fileid": "ff3e747550a2a6cc4155a550fd1efd6f8ac5890834120913bf45f58ea9707157",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/murraystokely/actions/runs/25789358415"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-13T09:09:19.000Z",
      "commit": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
      "fileid": "0ea3a6d21d66c604dc3bb25a7b2a3db282b65bc66daa97b3917eb37542ae002d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/murraystokely/actions/runs/25789358415"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-13T09:10:02.000Z",
      "commit": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
      "fileid": "730b052d96c08d35e56c61256838471943fa90fc785861f3cfc208ce0359b63a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/murraystokely/actions/runs/25789358415"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.1",
      "date": "2026-05-13T09:09:10.000Z",
      "commit": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
      "fileid": "6a0f902a7d889019014fc90dbf81d6c3cf53efdbfb34055b90f2a9ee25f2416b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/murraystokely/actions/runs/25789358415"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-05-22T09:47:37.000Z",
      "commit": "98a1f51dbeb80d3f23d8a8fed26c8b0160dc2836",
      "fileid": "f367beb120ec42edc131814bfea3fb6690e674a3f64c0ef2793d9c3691750e34",
      "status": "success",
      "buildurl": "https://github.com/r-universe/murraystokely/actions/runs/25789358415"
    }
  ]
}