scompvar | R Documentation |
scompvar
can be used to calculate the average component of variation
among units and the average component of variation within samples in terms
of sampling effort.
scompvar(data, n = NULL, m = NULL)
data |
Object of class "ecocbo_data" that results from |
n |
Number of samples to be considered. Defaults to NULL. |
m |
Site label to be used as basis for the computation. Defaults to NULL. |
A data frame containing the values for the variation component
among sites compVarA
and in the residuals compVarR
.
If m
or n
are left as NULL, the function will calculate
the components of variation using the largest available values as set in
the experimental design in sim_beta()
.
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.
Underwood, A. J., & Chapman, M. G. (2003). Power, precaution, Type II error and sampling design in assessment of environmental impacts. Journal of Experimental Marine Biology and Ecology, 296(1), 49-70.
sim_beta()
plot_power()
sim_cbo()
prep_data()
scompvar(data = simResults)
scompvar(data = simResults, n = 5, m = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.