kstMatrix2.1-0 package

Basic Functions in Knowledge Space Theory Using Matrix Representation

kmassess

Perform a probabilistic knowledge assessment

kmassessbayesian

Update probability distribution applying Bayesian update

kmassesshalfsplit

Determine next question for probabilistic knowledge assessment

kmassessinformative

Determine next question for probabilistic knowledge assessment

kmassessmentsimulation

Simulate assessments for a set of response patterns

kmassessmultiplicative

Update probability distribution applying multiplicative rule

kmbasis.kmsurmisefunction

Determine the basis for a surmise function

kmbasis.kmsurmiserelation

Determine the basis of a knowledge space from a surmise relation

kmbasis.matrix

Compute the basis of a knowledge space

kmbasis

Generic kmbasis() function

kmcolors

Determine a color vector based on probabilities

kmdist

Compute the distance between a data set and a knowledge structure

kmdoubleequal

Test two double numbers on equity with a certain tolerance

kmeqreduction

Reduce a family of knowledge states with respect to item equivalence

kmfamset

Convert a binary matrix to a kmfamset object (family of sets)

kmfringe

Compute the fringe of a state within a knowledge structure

kmgenerate

Generate a knowledge structure from a set of response patterns

kmgradations

Determine all gradations between two states

kmiita2SR

Convert an IITA result into a surmise relation matrix

kmiswellgraded

Check for wellgradedness of a knowledge structure

kmlearningpaths

Determine all learning paths in a knowledge structure

kmneighbourhood

Compute the neighbourhod of a state within a knowledge structure

kmnneighbourhood

Compute the n-neighbourhod of a state within a knowledge structure

kmnotions

Determine the notions of a knowledge structure

kmsetiselement

Test if a state is contained in a family of states

kmsf2basis

Derive a basis from a surmise function

kmsimulate

Simulate a set of response patterns according to the BLIM

kmspace

Convert a binary matrix to a kmspace object

kmSR2basis

Determine the basis of a knowledge space from a surmise relation

kmSRvalidate

Validate a surmise relation against a data set

kmstructure

Convert a binary matrix to a kmstructure object

kmsurmisefunction

Compute the surmise function for a knowledge space or basis

kmsurmiserelation

Compute the surmise relation of a quasi-ordinal knowledge space

kmsymmsetdiff

Compute the symmetric set difference between two sets

kmtrivial

Create trivial knowledge spaces

kmunionclosure

Close a family of sets under union

kmvalidate

Validate a knowledge structure against a data set

plot

Plot a Hasse diagram

Knowledge space theory by Doignon and Falmagne (1999) <doi:10.1007/978-3-642-58625-5> is a set- and order-theoretical framework, which proposes mathematical formalisms to operationalize knowledge structures in a particular domain. The 'kstMatrix' package provides basic functionalities to generate, handle, and manipulate knowledge structures and knowledge spaces. Opposed to the 'kst' package, 'kstMatrix' uses matrix representations for knowledge structures. Furthermore, 'kstMatrix' contains several knowledge spaces developed by the research group around Cornelia Dowling through querying experts.

  • Maintainer: Cord Hockemeyer
  • License: GPL-3
  • Last published: 2025-11-21