epiBetaR {ecocbo} | R Documentation |
Dataset containing an example of the results of applying ecocbo::sim_beta().
Description
The dataset contains the results of applying ecocbo::sim_beta() to epiDat. The result is a list with three levels. $Power A data frame with the results of statistical power according to different sampling efforts. $Results A data frame with the results of applying PERMANOVA to epiDat a number of times, it contains the values of pseudoF and the mean squares for different repeated sampling efforts. $alpha The value of Type I Error as chosen by the user.
This dataset can be used to study the variability of the pseudoF-statistic, beta and the power when an experiment is applied to a varying number of samples, sampling units, or sampling sites.
Usage
data("epiBetaR")
Format
An object of class "ecocbo_beta", also a list of two data frames and a numeric value. The format is:
$Power | a data frame that contains power levels at different experimental designs. | |
m | number of sites. | |
n | number of replicates within each site. | |
Power | estimation of power for the experimental design. | |
Beta | estimation of error type II for the experimental design. | |
fCrit | value of observed F according to the required alpha. | |
$Results | a data frame that contains the results of the evaluation of sim_beta. | |
dat.sim | simulation from which the results are obtained. | |
k | number of resample for the result. | |
m | number of sites considered for the result. | |
n | number of replicates within each site for the result. | |
pseudoFH0 | observed F value for the experimental design, when all observations belong to one site. | |
pseudoFHa | observed F value for the experimental design, when observations belong to different sites. | |
AMSHa | calculated mean squares among sites in the experiment. | |
RMSHa | calculated mean squares for the residuals in the experiment. | |
$alpha | a numeric value for the Type I Error as chosen by the user. | |
Details
This dataset comes from applying ecocbo::sim_beta() to the basic data from ecocbo::epiDat.
Source
Data available from the Dryad Digital Repository: <http://dx.doi.org/10.5061/dryad.3bk3j9kj5> (Guerra-Castro et al. 2020).
References
Guerra-Castro, E. J. et al. 2016. Scales of spatial variation in tropical benthic assemblages and their ecological relevance: epibionts on Caribbean mangrove roots as a model system. – Mar. Ecol. Prog. Ser. 548: 97–110.
Examples
data(epiBetaR)
plot_power(epiBetaR, n = 3, m = 4, method = "both")