harmonise_dhist_locations: Harmonise a pair of discrete histograms to share a common set...

View source: R/dhist.R

harmonise_dhist_locationsR Documentation

Harmonise a pair of discrete histograms to share a common set of locations

Description

Where a location only exists in one histogram, add this location to the other histogram with zero mass. This ensures that all location exist in both histograms.

Usage

harmonise_dhist_locations(dhist1, dhist2)

Arguments

dhist1

A discrete histogram as a dhist object

dhist2

A discrete histogram as a dhist object

Value

Harmonised histograms


alan-turing-institute/network-comparison documentation built on June 7, 2022, 10:41 p.m.