cgraph: Complete graph

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Creates a complete graph for the given cloud of vertices.

Usage

1
cgraph(x, y, ...)

Arguments

x

X values, or a matrix with two columns containing X and Y values.

y

Y values. Can be left empty if x is a matrix.

...

Other arguments to be passed to segments.

Details

If y is not given, x is required to be a matrix containing both x and y values.

Value

Plots a complete graph between the given vertices.

Author(s)

Samuel Brown <s_d_j_brown@hotmail.com>

See Also

plot.ordinDNA.

Examples

1
2
3
4
5
6
7
8
x <- runif(15)
y <- runif(15)

plot(x, y)
cgraph(x, y)

M <- cbind(x, y)
cgraph(M[1:10,], col = "blue")


Search within the spider package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.