Learn R Programming

spa (version 2.0)

plot.spa: Plot the graph

Description

Plots the graph in two specified dimensions.

Usage

"plot"(x,xscale=NULL,g=NULL,vars=1:2, graph.grid=TRUE,plt.response, lcol=8,llwd=1,...)

Arguments

x
the spa object.
xscale
the dimension space for plotting. See spa for examples with ISOmap and data.
g
graph adjacency matrix.
vars
variables to read off of xscale, e.g. xscale[,var] (default=1:2)
graph.grid
whether or not the graph edges should be plotted.
plt.response
whether or not the graph edges should be plotted.
lcol
line color for graph edges(default=gray)
llwd
line thickness for graph edges (default=2)
...
additional parameters for plot

References

M. Culp (2011). spa: A Semi-Supervised R Package for Semi-Parametric Graph-Based Estimation. Journal of Statistical Software, 40(10), 1-29. URL http://www.jstatsoft.org/v40/i10/.