Learn R Programming

kstMatrix (version 2.2-1)

Basic Functions in Knowledge Space Theory Using Matrix Representation

Description

Knowledge space theory by Doignon and Falmagne (1999) 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.

Copy Link

Version

Install

install.packages('kstMatrix')

Monthly Downloads

12,102

Version

2.2-1

License

GPL-3

Maintainer

Cord Hockemeyer

Last Published

January 23rd, 2026

Functions in kstMatrix (2.2-1)

kmbasisfringe

Compute the fringe of a state within a knowledge structure using its basis
kmeqreduction

Reduce a family of knowledge states with respect to item equivalence
plot

Plot a Hasse diagram
kmneighbourhood

Compute the neighbourhod of a state within a knowledge structure
kmnneighbourhood

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

Knowledge spaces on reading and writing abilities
kmsurmisefunction

Compute the surmise function for a knowledge space or basis
kmfamset

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

Convert a binary matrix to a kmstructure object
kmtrivial

Create trivial knowledge spaces
kmsimulate

Simulate a set of response patterns according to the BLIM
phsg

Knowledge space on linear functions
kmgenerate

Generate a knowledge structure from a set of response patterns
kmspace

Convert a binary matrix to a kmspace object
kmvalidate

Validate a knowledge structure against a data set
kmfringe

Compute the fringe of a state within a knowledge structure
kmunionclosure

Close a family of sets under union
kmiswellgraded

Check for wellgradedness of a knowledge structure
kmlearningpaths

Determine all learning paths in a knowledge structure
xpl

Small example knowledge space
kmnotions

Determine the notions of a knowledge structure
kmiita2SR

Convert an IITA result into a surmise relation matrix
kmsurmiserelation

Compute the surmise relation of a quasi-ordinal knowledge space
kmgradations

Determine all gradations between two states
kmsymmsetdiff

Compute the symmetric set difference between two sets
kmsetiselement

Test if a state is contained in a family of states
cad

Knowledge spaces on AutoCAD knowledge
kmSRvalidate

Validate a surmise relation against a data set
kmassess

Perform a probabilistic knowledge assessment
kmassessmentsimulation

Simulate assessments for a set of response patterns
kmassessbayesian

Update probability distribution applying Bayesian update
kmSF2basis

Derive a basis from a surmise function
kmassesshalfsplit

Determine next question for probabilistic knowledge assessment
kmSR2basis

Determine the basis of a knowledge space from a surmise relation
kmassessinformative

Determine next question for probabilistic knowledge assessment
kmassessmultiplicative

Update probability distribution applying multiplicative rule
kmbasis

Generic kmbasis() function
kmdoubleequal

Test two double numbers on equity with a certain tolerance
kmcolors

Determine a color vector based on probabilities
kmbasisneighbourhood

Compute the neighbourhod of a state within a knowledge structure using its basis
kmbasis.kmsurmisefunction

Determine the basis for a surmise function
kmbasis.kmsurmiserelation

Determine the basis of a knowledge space from a surmise relation
kmdist

Compute the distance between a data set and a knowledge structure
kmbasis.matrix

Compute the basis of a knowledge space
fractions

Knowledge spaces on fractions