plot.UndPCDs | R Documentation |
UndPCDs
object
Plots the vertices and the edges of the underlying or reflexivity graphs of the PCD together with the vertices and boundaries of the partition cells (i.e., intervals in the 1D case and triangles in the 2D case)
## S3 method for class 'UndPCDs'
plot(x, Jit = 0.1, ...)
x |
Object of class |
Jit |
A positive real number
that determines the amount of jitter along the |
... |
Additional parameters for |
None
print.UndPCDs
, summary.UndPCDs
,
and print.summary.UndPCDs
#\donttest{
nx<-20; ny<-5;
set.seed(1)
Xp<-cbind(runif(nx,0,1),runif(nx,0,1))
Yp<-cbind(runif(ny,0,.25),runif(ny,0,.25))+cbind(c(0,0,0.5,1,1),c(0,1,.5,0,1))
M<-c(1,1,1) #try also M<-c(1,2,3)
r<-1.5
Edges<-edgesPE(Xp,Yp,r,M)
Edges
plot(Edges)
#}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.