pairwise_niche_overlap: SPECIES MODEL PAIRWISE NICHE OVERLAP FUNCTION

View source: R/pairwise_niche_overlap.R

pairwise_niche_overlapR Documentation

SPECIES MODEL PAIRWISE NICHE OVERLAP FUNCTION

Description

Estimate all pairwise niche overlap of modelled species

Usage

pairwise_niche_overlap(
  x,
  transformed = F,
  mode = c("region", "global"),
  write.csv = T,
  filename = "pairwise.niche.overlap.csv",
  alternative = c("lower", "greater", "both"),
  rand.type = 1,
  cor = F,
  rep = 10
)

Arguments

x

Niche model. NINA object

transformed

Boolean whetehr use the environmental or ecoligcal niche

mode

Scale of the estimation. Default is region

write.csv

Boolean whether to write a csv file witht the results

filename

Filename

alternative

Type of statistic test. Default is "lower"

rand.type

Type of randomization methos. Default is 1

cor

Boolean whether to use cor or uncor estimation

rep

number of randomization tests

Details

Returns an error if filename does not exist.

Value

Data frame.

Examples

## Not run: 
accident_2015 <- fars_read("Project/data/accident_2015.csv.bz2")

## End(Not run)


agarciaEE/NINA documentation built on Jan. 9, 2025, 10:09 a.m.