cgraph | R Documentation |
Creates a complete graph for the given cloud of vertices.
cgraph(x, y = NULL, ...)
x |
X values, or a matrix with two columns containing X and Y values. |
y |
Y values. Can be left empty if |
... |
Other arguments to be passed to |
If y
is not given, x
is required to be a matrix containing
both x and y values.
Plots a complete graph between the given vertices.
Samuel Brown <s_d_j_brown@hotmail.com>
plot.ordinDNA
.
x <- runif(15)
y <- runif(15)
graphics::plot(x, y)
cgraph(x, y)
M <- cbind(x, y)
cgraph(M[1:10,], col = "blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.