modifiedBinomialOverlap: Turns percentage overlap data into binomial data at a 50%...

Description Usage Arguments Details Value Examples

View source: R/modifiedBinomialOverlap.R

Description

modifiedBinomialOverlap turns previously calculated percentage overlap data into binomial (yes/no or 1/0) overlap data on a per species basis. This is in preparation for analysis using binomial GLMM's.

Usage

1

Arguments

x

an object of class sf, sfc or sfg, containing calculated percentage overlaps of range polygons between Natrual History Museum data and IUCN data.

Details

You will get a warning messages saying only the first value will be used to check if an if condition is true, these arise due to R interpreting the column of Percent_overlap as a list, so can be safely ignored.

Value

x with the Percent_overlaps column "flattened" to binomial data, and stored in the binomial_overlap column

Examples

1

JCur96/sfe documentation built on Sept. 2, 2020, 6:02 p.m.