area_between_offset_ecmfs: Area between two offset Empirical Cumulative Mass Functions...

View source: R/dhist.R

area_between_offset_ecmfsR Documentation

Area between two offset Empirical Cumulative Mass Functions (ECMFs)

Description

Area between two offset Empirical Cumulative Mass Functions (ECMFs)

Usage

area_between_offset_ecmfs(ecmf1, ecmf2, offset)

Arguments

ecmf1

An Empirical Cululative Mass Function (ECMF) object of class dhist_ecmf

ecmf2

An Empirical Cululative Mass Function (ECMF) object of class dhist_ecmf

offset

An offset to add to all locations of the first ECMF. Postive offsets will shift the ECMF to the right and negative ones to the left.

Value

area The area between the two ECMFs, calculated as the integral of the absolute difference between the two ECMFs


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