balanced_sampling | R Documentation |
Develops the experimental design based on the provided conditions
balanced_sampling(
i,
Y,
mm,
nn,
YPU,
H0Sim,
HaSim,
resultsHa,
transformation,
method
)
i |
pointer to the index in the list of experimental designs to try. |
Y |
index to the data.frame the function will work with. |
mm |
number of site the function is working with in each iteration. |
nn |
number of samples to consider in each iteration. |
YPU |
label for the sites in each iteration, as used by
|
H0Sim |
simulated community from |
HaSim |
simulated community from |
resultsHa |
helper matrix that stores labels and later the results. |
transformation |
Mathematical function to reduce the weight of very dominant species. |
method |
appropriate distance/dissimilarity metric (e.g. Gower, Bray–Curtis, Jaccard, etc). |
a data frame with values for observed F (for H0 and Ha), and the Ha mean squares for residuals and variation among sites.
Edlin Guerra-Castro (edlinguerra@gmail.com), Arturo Sanchez-Porras
Underwood, A. J. (1997). Experiments in ecology: their logical design and interpretation using analysis of variance. Cambridge university press.
sampling::balancedtwostage()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.