balanced_sampling2 | R Documentation |
Develops the experimental design based on the provided conditions
balanced_sampling2(
i,
Y,
mm,
nn,
YPU,
H0Sim,
HaSim,
factEnv,
resultsHa,
transformation,
method,
model,
nSect,
sites,
N
)
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). |
model |
which algorithm to use for the calculation? At the moment, the only option is "nested.symmetric". |
nSect |
Total number of sectors to be simulated in each data set. |
sites |
Total number of sites to be simulated in each data set. |
N |
Total number of samples to be simulated in each site. |
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.