plot.lln {LLN} | R Documentation |
This function provides several tools for plotting networks: plot a simple network, plot a network with colored nodes according to their class membership, plot decision boundaries associated with a supervised classifier.
plot.lln(x,...,cls,txt,classifier,unlab=FALSE)
x |
The latent space parameters |
... |
Additional parameters |
cls |
the class membership labels of nodes used to determine colors in the plot (optional) |
txt |
the names of nodes (optinal) |
classifier |
the supervised classifier parameters (optional) |
unlab |
plot without colors the test nodes (optional) |
Charles Bouveyron and Hugh Chipman <firstname.lastname@acadiau.ca>
# Type demo(LLN) for a complete demonstration data(Monks) pos <- latpos(Monks$Y,p=2) plot(pos,cls=Monks$cls)