kmdist {kstMatrix}R 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)


[Package kstMatrix version 0.2-0 Index]