plot | R Documentation |
Plots a Hasse diagram of a family of sets
## S3 method for class 'kstructure' plot(x, ...) ## S3 method for class 'kbase' plot(x, ...) ## S3 method for class 'kfamset' plot(x, ...)
x |
An R object of class |
... |
Other arguments to be passed to methods. |
plot
takes an arbitrary family of sets and plots a Hasse diagram.
Doignon, J.-P., Falmagne, J.-C. (1999) Knowledge Spaces. Heidelberg: Springer Verlag.
kstructure
, kbase
, kfamset
fs <- kfamset(set(set("a"), set("a","b"), set("a","c"), set("d","e"), set("a","b","d","e"), set("a","c","d","e"), set("a","b","c","d","e"))) if(require("Rgraphviz")) {plot(fs)}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.