simHaDat {ecocbo}R Documentation

Dataset for using in the example of 'sim_beta'

Description

This dataset contains half of the necessary data to test sim_beta(), the other half being simH0Dat. These datasets are the result of applying the preparation steps mentioned in the vignette "ecocbo-guide": (1) subset 'epibionts', (2) adjust the 'site' labels, (3) apply assempar(), and (4) apply simdata().

Usage

data("simHaDat")

Format

A list formed by 3 data frames that contain 1000 rows (observations) and 95 columns (93 simulated species and 2 labels) each. The last column site is a factor with 10 levels to indicate how the observations belong to several different sites.

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("simH0Dat")
data("simHaDat")

epiBetaR <- sim_beta(simH0Dat, simHaDat,
                     n = 5, m = 4, k = 50,
                     alpha = 0.05,
                     transformation = "square root", method = "bray",
                     dummy = FALSE,
                     useParallel = FALSE)

epiBetaR

[Package ecocbo version 0.10.2 Index]