min_hpd_inclusion_area: compute the smallest area of an HPD credible set that...

Description Usage Arguments

View source: R/assess.R

Description

This function computes the area of the HPD credible set that is as small as possible but just barely includes the cell with the true location (or, if the true location is not actually inluded in the range map, we use the closest cell on the range map to the true location). This operates on a single rasterLayer. To operate on a rasterBrick of posteriors and a data frame of lat-longs, use 'min_hpd_inc_area_df()'.

Usage

1
min_hpd_inclusion_area(M, lat, long)

Arguments

M

the posterior surface matrix

lat

the true latitude

long

the true longitude


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