Learn R Programming

⚠️There's a newer version (4.33) of this package.Take me there.

fuzzySim (version 4.9.9)

Fuzzy Similarity in Species Distributions

Description

Functions to compute fuzzy versions of species occurrence patterns based on presence-absence data (including inverse distance interpolation, trend surface analysis, and prevalence-independent favourability obtained from probability of presence), as well as pair-wise fuzzy similarity (based on fuzzy logic versions of commonly used similarity indices) among those occurrence patterns. Includes also functions for model consensus and comparison (overlap and fuzzy similarity, loss or gain), and for data preparation, such as obtaining unique abbreviations of species names, cleaning and gridding (thinning) point occurrence data onto raster maps, selecting absences under specified criteria, converting species lists (long format) to presence-absence tables (wide format), transposing part of a data frame, selecting relevant variables for models, assessing the false discovery rate, or analysing and dealing with multicollinearity. Initially described in Barbosa (2015) .

Copy Link

Version

Install

install.packages('fuzzySim')

Monthly Downloads

955

Version

4.9.9

License

GPL-3

Maintainer

A. Barbosa

Last Published

April 14th, 2023

Functions in fuzzySim (4.9.9)

corSelect

Select among correlated variables based on a given criterion
cleanCoords

Clean coordinates
favClass

Classify favourability into 3 categories (low, intermediate, high)
entropy

(Fuzzy) entropy
fuzzyConsensus

Fuzzy consensus among model predictions
fuzSim

Fuzzy similarity
bioThreat

Biotic threat of a stronger over a weaker species based on their favourability values
distPres

(Inverse) distance to the nearest presence
Fav

Favourability (probability without the effect of sample prevalence)
FDR

False Discovery Rate
modelTrim

Trim off non-significant variables from a model
fuzzyRangeChange

Range change based on continuous (fuzzy) values
modOverlap

Overall overlap between model predictions
gridRecords

Grid (or thin) point occurrence records to the resolution of a raster map
fuzzyOverlay

Row-wise overlay operations based on fuzzy logic
multConvert

Multiple conversion
fuzzySim-package

Fuzzy Similarity in Species Distributions
multGLM

GLMs with variable selection for multiple species
getPreds

Get model predictions
integerCols

Classify integer columns
rangemapSim

Pairwise similarity between rangemaps
prevalence

Prevalence
pairwiseRangemaps

Pairwise intersection (and union) of range maps
rarity

(Fuzzy) rarity
percentTestData

Percent test data
multicol

Analyse multicollinearity in a dataset, including VIF
multTSA

Trend Surface Analysis for multiple species
rotif.env

Rotifers and environmental variables on TDWG level 4 regions of the world
selectAbsences

Select (spatially biased) absence rows.
rotifers

Rotifer species on TDWG level 4 regions of the world
simMat

Pair-wise (fuzzy) similarity matrix
timer

Timer
sharedFav

Shared favourability for two competing species
summaryWald

Model summary with Wald (instead of z) test statistics
stepwise

Stepwise regression
vulnerability

(Fuzzy) vulnerability
triMatInd

Triangular matrix indices
splist2presabs

Convert a species list to a presence-absence table
stepByStep

Analyse and compare stepwise model predictions
transpose

Transpose (part of) a matrix or dataframe
spCodes

Obtain unique abbreviations of species names
simFromSetOps

Calculate similarity from set operations