Join-count statistic, internal.
int.joincount(Z, con, nsim, alternative, test = "permutation",
adjust.n = FALSE, adjustjc = "none", plotit)
Vector, matrix or data frame.
Connection network.
Number of Monte-Carlo simulations.
The alternative hypothesis. If "auto" is selected (default) the program determines the hypothesis by difference between the median of the simulations and the observed value. Other options are: "two.sided", "greater" and "less". if test == cross, for the first interval (d== 0) the p and CI are computed with cor.test.
If test = "bootstrap", the program generates a bootstrap resampling and the associated confidence intervals of the null hypothesis. If test = "permutation" (default) a permutation test is made and the p value is calculated.
Should be adjusted the number of individuals? (warning, this would change variances)
Method for multiple correction of P-values
passed to p.adjust
.