write_bart_rasters: Write BART raster predictions to GeoTIFF format

View source: R/write_bart_rasters.R

write_bart_rastersR Documentation

Write BART raster predictions to GeoTIFF format

Description

This function writes GeoTIFFs of BART predictions.

Usage

write_bart_rasters(data)

Arguments

data

a RasterStack object returned by embarcadero::predict2.bart()

Details

The function write outputs of both binary and probability surfaces at mean values and 95% credible intervals.

Value

Seven raster layers:

  1. ⁠SDM_prob_mean_{sppselect}⁠: Mean probability of habitat suitability

  2. ⁠SDM_prob_lower_{sppselect}⁠: Lower 95% credible interval probability of habitat suitability

  3. ⁠SDM_prob_upper_{sppselect}⁠: Upper 95% credible interval probability of habitat suitability

  4. ⁠SDM_bin_mean_{sppselect}⁠: Mean binary presence/absence prediction (based on TSS threshold)

  5. ⁠SDM_bin_lower_{sppselect}⁠: Lower 95% credible interval binary presence/absence

  6. ⁠SDM_bin_upper_{sppselect}⁠: Upper 95% credible interval binary presence/absence

  7. ⁠SDM_cred_int_width_{sppselect}⁠: Credible interval probability width (i.e., Upper CI - Lower CI)

Note

Undeclared variables: BART_dir, sppselect and tss_threshold

Author(s)

Dominic Henry

Examples

## Not run: 
write_bart_rasters(map)

## End(Not run)

DomHenry/SDMutils documentation built on Feb. 6, 2024, 8:51 p.m.