Nothing
"gearymoran" <- function (bilis, X, nrepet=999,alter=c("greater", "less", "two-sided")) {
alter <- match.arg(alter)
## bilis doit être une matrice
bilis <- as.matrix(bilis)
nobs <- ncol(bilis)
# bilis doit être carrée
if (nrow(bilis) != nobs) stop ("'bilis' is not squared")
# bilis doit être symétrique
bilis <- (bilis + t(bilis))/2
# bilis doit être à termes positifs (voisinages)
if (any(bilis<0)) stop ("term <0 found in 'bilis'")
test.names <- names(X)
X <- data.matrix(X)
if (nrow(X) != nobs) stop ("non convenient dimension")
nvar <- ncol(X)
res <- .C("gearymoran",
param = as.integer(c(nobs,nvar,nrepet)),
data = as.double(X),
bilis = as.double(bilis),
obs = double(nvar),
result = double (nrepet*nvar),
obstot = double(1),
restot = double (nrepet),
PACKAGE="ade4"
)
res <- as.krandtest(obs=res$obs,sim=matrix(res$result,ncol=nvar, byrow=TRUE),names=test.names,alter=alter)
return(res)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.