Learn R Programming

kstMatrix (version 2.2-1)

kmtrivial: Create trivial knowledge spaces

Description

These functions create trivial knowledge spaces of a given item number. The minimal space contains just the empty set and the full item set while the maximal space is equal to the power set.

Usage

kmminimalspace(noi)

kmmaximalspace(noi)

Value

A binary matrix representing the respective knowledge space

Arguments

noi

Number of items

Details

Please note that the computation time for creating large power sets can grow quite large easily.

Examples

Run this code
kmminimalspace(5)
kmmaximalspace(5)

Run the code above in your browser using DataLab