niche_position: NICHE POSITION

View source: R/niche_position.R

niche_positionR Documentation

NICHE POSITION

Description

Vector

Usage

niche_position(
  z,
  type = c("unimodal", "multimodal"),
  method = c("max", "median", "mean"),
  quantile = 0.5,
  cor = FALSE
)

Arguments

z

niche model

type

type of estimation. Default is "unimodal"

method

Method to estimate the niche centroid. Default is "max"

quantile

Numeric quantile to filter the niche

cor

Boolean to whether use cor or uncor estimation

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.