kmdist: Compute the distance between a data set and a knowledge...

View source: R/kmdist.R

kmdistR Documentation

Compute the distance between a data set and a knowledge structure

Description

kmdist returns a named vector with the frequencies of distances between a set of response patterns and a knowledge structure. This vector can be used to compute, e.g., the Discrepancy Index (DI) or the Distance Agreement Coefficient (DA).

Usage

kmdist(data, struct)

Arguments

data

Binary matrix representing a set of response patterns

struct

Binary matrix representing a knowledge structure

Value

Distance distribution vector

See Also

Other Validating knowledge spaces: kmvalidate()

Examples

kmdist(xpl$data, xpl$space)


kstMatrix documentation built on Oct. 12, 2023, 5:06 p.m.