kmhasse: Plot the Hasse diagram of a knowledge structure stored as a...

View source: R/kmhasse.R

kmhasseR Documentation

Plot the Hasse diagram of a knowledge structure stored as a matrix

Description

kmhasse takes a matrix representing a knowledge structure and a color vector and draws a Hasse diagram. If the color vector is NULL the states are drawn in green.

Usage

kmhasse(struc, horizontal = TRUE, colors = NULL)

Arguments

struc

Binary matrix representing a knowledge structure

horizontal

Boolean defining orientation of the graph, default TRUE

colors

Color vector (default NULL)

See Also

Other Plotting knowledge structures: kmSRdiagram(), kmbasisdiagram()


kstMatrix documentation built on April 4, 2025, 2:16 a.m.