View source: R/lpath_is_gradation.R
lpath_is_gradation | R Documentation |
Tests for the gradation property of learning paths.
lpath_is_gradation(x)
x |
A |
A learning path is considered a gradation if each state in a learning path differs from its predecessor and/or successor state by a single item/notion.
lpath_is_gradation
takes an arbitrary list of learning paths and
tests for their gradation property.
A list
of logical values where each element represents one learning path.
Doignon, J.-P., Falmagne, J.-C. (1999) Knowledge Spaces. Heidelberg: Springer Verlag.
kstructure
, lpath
kst <- kstructure(set(set(), set("c"), set("a","b"), set("b","c"), set("c","d"), set("d","e"), set("a","b","c"), set("b","c","d"), set("c","d","e"), set("a","b","c","d"), set("a","b","d","e"), set("b","c","d","e"), set("a","b","c","d","e"))) lp <- lpath(kst) lpath_is_gradation(lp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.