EcoGenetics (version 1.2.1-4)

int.joincount: Join-count statistic, internal.

Description

Join-count statistic, internal.

Usage

int.joincount(Z, con, nsim, alternative, test = "permutation",
  adjust.n = FALSE, adjustjc = "none", plotit)

Arguments

Z

Vector, matrix or data frame.

con

Connection network.

nsim

Number of Monte-Carlo simulations.

alternative

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.

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.

adjust.n

Should be adjusted the number of individuals? (warning, this would change variances)

adjustjc

Method for multiple correction of P-values passed to p.adjust.