plot_power() can be used to visualize the power of a study as a
function of the sampling effort. The power curve plot shows that the
power of the study increases as the sample size increases, and the density
plot shows the overlapping areas where \(\alpha\) and \(\beta\) are
significant.
density_plot(results, powr, m = NULL, n, method, cVar, model, completePlot)A density plot for the observed pseudoF values and a line marking
the value of pseudoF that marks the significance level indicated in sim_beta().
The value of the selected 'm', 'n' and the corresponding component of variation are presented in all methods.
Part of the object of class "ecocbo_beta" that results from
sim_beta().
Part of the object of class "ecocbo_beta" that results from
sim_beta().
Calculated in plot_power(). When using the single.factor model,
m is NULL.
Calculated in plot_power().
Which plot is to be drawn? It is used to omit the text label when
the user selects both as method.
Calculated variation components.
Model used for calculating power. Options, so far, are 'single.factor' and 'nested.symmetric'.
Logical. Is the plot to be drawn complete? If FALSE the plot will be trimmed to present a better distribution of the density plot.
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()
scompvar()
sim_cbo()
prep_data()
plot_power()