P_dist: Calculate Probability-Based Distance

Description Usage Arguments Value Author(s)

View source: R/P_dist.R

Description

Calculate distance based on PXY and PXPY.

Usage

1
P_dist(pxy, pxpy, method = c("difference", "mi"))

Arguments

pxy

(list) Joint probability generated by PXY fuction.

pxpy

(list) Product of marginal probability generated by PXPY fuction.

method

(character) Method for calculating distance, either PXY-PXPY ("difference") or mutual information ("mi").

Value

(list) Distance values.

Author(s)

DING, HONGXU (hd2326@columbia.edu)


hd2326/pageRank documentation built on Dec. 18, 2020, 8:44 a.m.