funsMuVarCS2D | R Documentation |
Two functions: muCS2D
and asyvarCS2D
.
muCS2D
returns the mean of the (arc) density of CS-PCD
and asyvarCS2D
returns the asymptotic variance of the arc density of CS-PCD
with expansion parameter t>0
for 2D uniform data in a triangle.
CS proximity regions are defined with respect to the triangle and
vertex regions are based on center of mass, CM
of the triangle.
See also (\insertCiteceyhan:Phd-thesis,ceyhan:arc-density-CS;textualpcds).
muCS2D(t)
asyvarCS2D(t)
t |
A positive real number which serves as the expansion parameter in CS proximity region. |
muCS2D
returns the mean and asyvarCS2D
returns the (asymptotic) variance of the
arc density of CS-PCD for uniform data in any triangle
Elvan Ceyhan
muPE2D
and asyvarPE2D
## Not run:
#Examples for muCS2D
muCS2D(.5)
tseq<-seq(0.01,5,by=.1)
ltseq<-length(tseq)
mu<-vector()
for (i in 1:ltseq)
{
mu<-c(mu,muCS2D(tseq[i]))
}
plot(tseq, mu,type="l",xlab="t",ylab=expression(mu(t)),lty=1,xlim=range(tseq))
## End(Not run)
## Not run:
#Examples for asyvarCS2D
asyvarCS2D(.5)
tseq<-seq(0.01,10,by=.1)
ltseq<-length(tseq)
asyvar<-vector()
for (i in 1:ltseq)
{
asyvar<-c(asyvar,asyvarCS2D(tseq[i]))
}
par(mar=c(5,5,4,2))
plot(tseq, asyvar,type="l",xlab="t",ylab=expression(paste(sigma^2,"(t)")),lty=1,xlim=range(tseq))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.