plot.lln {LLN}R Documentation

Plot tools designed for LLN objects

Description

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.

Usage

plot.lln(x,...,cls,txt,classifier,unlab=FALSE)

Arguments

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)

Author(s)

Charles Bouveyron and Hugh Chipman <firstname.lastname@acadiau.ca>

See Also

latpos, latproj

Examples

# Type demo(LLN) for a complete demonstration
data(Monks)
pos <- latpos(Monks$Y,p=2)
plot(pos,cls=Monks$cls)

[Package LLN version 1.1 Index]