powered by
Creates a complete graph for the given cloud of vertices.
cgraph(x, y = NULL, ...)
X values, or a matrix with two columns containing X and Y values.
Y values. Can be left empty if x is a matrix.
x
Other arguments to be passed to segments.
segments
Plots a complete graph between the given vertices.
If y is not given, x is required to be a matrix containing both x and y values.
y
plot.ordinDNA.
plot.ordinDNA
# NOT RUN { x <- runif(15) y <- runif(15) graphics::plot(x, y) cgraph(x, y) M <- cbind(x, y) cgraph(M[1:10,], col = "blue") # }
Run the code above in your browser using DataLab