EBVor: EBVor class

Description Usage Arguments Author(s) See Also Examples

Description

An EBVor object store dynamically a Voronoi tesselation of some set points.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
EBVor(pts=500,center,size,sizeIn,mark)
EBMarks(...)
EBPoints(obj,...)
## Default S3 method:
EBPoints(pts,nbPts=1,mark=NULL,...)
## S3 method for class 'EBVor'
insert(vor,pts,...)
## S3 method for class 'EBVor'
delete(vor,pts)
## S3 method for class 'EBVor'
plot(vor,type,xlab="",ylab="",center,size,dvArgs,vvArgs,deArgs,veArgs,vcArgs,dvCol,vcCol,dvCex,vvCex,dvPch,vvPch,add=FALSE,vc.colors=cm.colors,dv.colors=heat.colors,dv.cex=c(1,.5),dv.pch=c(15:25,1:14),...) 
## S3 method for class 'EBVor'
identify(vor,func,mode=1,...)
## S3 method for class 'EBVor'
as.ppp(vor,window)

Arguments

vor

an object of class EBVor.

pts

either a vector or a matrix of coordinates for insert method and a vector of index for

...

further arguments depending on the call to perform.

Author(s)

R. Drouilhet

See Also

EBFunc, EBGibbs, EBStat

Examples

1
2
3
4
5
6
7
vor<-EBVor(1000000,marks=EBMarks(m=int(1,1:2)))
insert(vor,runif(100,-250,250),m=sample(1:2,100,rep=T))
plot(vor,vcCol=m,type=c("dv","vc","de"))
plot(vor,dvCol=m,type="de")
plot(vor,0) #list of already plot to reproduce again
plot(vor,1) #plot 1 is then redrawn
plot(vor,2) #plot 2 is then redrawn

rcqls/EBSpat documentation built on May 27, 2019, 3:04 a.m.