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 = FALSE, colors = NULL)

Arguments

struc

Binary matrix representing a knowledge structure

horizontal

Boolean defining orientation of the graph, default FALSE

colors

Color vector (default NULL)

See Also

Other Plotting knowledge structures: kmbasisdiagram()


kstMatrix documentation built on Oct. 12, 2023, 5:06 p.m.