Learn R Programming

ecocbo (version 1.0.0)

surface_plot: Power surface for different sampling efforts

Description

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.

Usage

surface_plot(powr, model)

Value

A surface plot for the observed statistical power at different sampling efforts, as indicated in sim_beta().

The value of the selected 'm', 'n' and the corresponding component of variation are presented in all methods.

Arguments

powr

Part of the object of class "ecocbo_beta" that results from sim_beta().

model

Model used for calculating power. Options, so far, are 'single.factor' and 'nested.symmetric'.

Author

Edlin Guerra-Castro (edlinguerra@gmail.com), Arturo Sanchez-Porras

References

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.

See Also

sim_beta() scompvar() sim_cbo() prep_data() plot_power()