min_hpd_inc_area_df: compute the minimum hpd inclusion area for all the birds in a...

Description Usage Arguments Value

View source: R/assess.R

Description

This is a convenient wrapper that lets you pass in a data frame of bird names with lats and longs and a rasterStack or rasterBrick and it returns the min hpd inclusion area for each bird in a tbl_df-ed data frame.

Usage

1

Arguments

birds

a data frame that minimally has columns Short_Name, lat, and long.

R

a rasterStack or rasterBrick of posteriors that each bird originated from each of the cells. The names of the layers must correspond to the ID column in kbirds.

Value

This returns a list with three components:


gaiah documentation built on July 8, 2020, 6:12 p.m.