distance: Codebook Dissimliarities

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Functions to calculate distances/dissimilarities between codebooks.

Usage

1
2
3

Arguments

x

a codebook

y

a codebook

Details

Note: The symmetric alpha-divergence is proportional to the Squared Hellinger distance, and is the default divergence between codebooks.

Value

Returns a numeric dissimilarity between two codebooks.

Author(s)

Andreas Brandmaier brandmaier@mpib-berlin.mpg.de

See Also

codebook

Examples

1
2
3
x <- codebook(c(sin(1:100)),m=3)
y <- codebook(c(sin(1:100*0.1)),m=3)
hellingerDistance(x,y)


Search within the pdc package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.