R/CountingCor.R

Defines functions CountingCor

Documented in CountingCor

CountingCor <-
function(posx, posy, ll, T,  method='spearman', lambdax=NULL, 
	lambday=NULL)
{

puntx<-countP(posx,ll, T=T, lambda=lambdax)
punty<-countP(posy,ll, T=T, lambda=lambday)

ccor<-cor.test(puntx,punty, method=method)$estimate
return(ccor)
}

Try the IndTestPP package in your browser

Any scripts or data that you put into this service are public.

IndTestPP documentation built on Aug. 29, 2020, 1:06 a.m.