{
  "_id": "6a102ed8acfb0bcc41c948f1",
  "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",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 21:23:21 UTC",
    "User": "root"
  },
  "Author": "Murray Stokely [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0008-3390-1338>), Google, Inc. [cph],\nTim Hesterberg [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-12 20:12:17 UTC",
  "RemoteUrl": "https://github.com/cran/HistogramTools",
  "RemoteRef": "HEAD",
  "RemoteSha": "42c4ac0ff439091ba0655c6b20f0a27440f84d84",
  "MD5sum": "ea42f4361abcc46bc344ee3b56985e6e",
  "_user": "cran",
  "_type": "src",
  "_file": "HistogramTools_0.4.1.tar.gz",
  "_fileid": "a77bd32026d33b533f88862b2c209d4033d2991b7dfbbe209de1f70335ce214a",
  "_filesize": 612145,
  "_sha256": "a77bd32026d33b533f88862b2c209d4033d2991b7dfbbe209de1f70335ce214a",
  "_created": "2026-05-12T21:23:21.000Z",
  "_published": "2026-05-22T10:24:24.783Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77361050521,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6956233935"
    },
    {
      "job": 77361050759,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6956238619"
    },
    {
      "job": 77361050195,
      "time": 208,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6956193755"
    },
    {
      "job": 77361050073,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158273919"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/25762866326",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/HistogramTools",
  "_commit": {
    "id": "42c4ac0ff439091ba0655c6b20f0a27440f84d84",
    "author": "Murray Stokely <murray@stokely.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.1\n",
    "time": 1778616737
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4.1",
      "date": "2026-05-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "murraystokely",
      "count": 6,
      "uuid": 4992749
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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"
  ],
  "_cranurl": false,
  "_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/cran/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": "2012-11-10",
      "modified": "2026-05-12 20:12:17",
      "commits": 4
    },
    {
      "source": "HistogramTools-quickref.Rnw",
      "filename": "HistogramTools-quickref.pdf",
      "title": "HistogramTools-QuickRef",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2013-10-02",
      "modified": "2026-05-12 20:12:17",
      "commits": 4
    }
  ],
  "_score": 3.7993405494535817,
  "_indexed": true,
  "_nocasepkg": "histogramtools",
  "_universes": [
    "cran",
    "murraystokely"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-05-12T21:25:20.000Z",
      "distro": "noble",
      "commit": "42c4ac0ff439091ba0655c6b20f0a27440f84d84",
      "fileid": "35852c050c5057695be9441e6ea077e22e6e46957760a234b89ede61f3cc5388",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25762866326"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.1",
      "date": "2026-05-12T21:25:32.000Z",
      "distro": "noble",
      "commit": "42c4ac0ff439091ba0655c6b20f0a27440f84d84",
      "fileid": "4b1b94737ae7855e22094b1b36635aef52020f0c1668c31c0ea86f1c04a41c0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25762866326"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.1",
      "date": "2026-05-22T10:24:04.000Z",
      "commit": "42c4ac0ff439091ba0655c6b20f0a27440f84d84",
      "fileid": "ca98a828b2ed352dcfd95f799952bd913984547ba46cdf6cc4f13e8bd711b5f4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/25762866326"
    }
  ]
}