Description Usage Arguments Details Value Examples
Estimate fire point probability from fire weights for point locations.
1 | fire_probs(data, veg_labels, covariates = TRUE)
|
data |
a data frame output by |
veg_labels |
character, vector of vegetation labels. If missing, they are assumed from |
covariates |
logical, if |
This function estimates point probability of fire for spatial point locations from fire weights output by fire_weights.
It generates a summary data frame that includes a column prop
of a simple proportion of area burned and a column prob
of estimated fire point probabilities based on the weights in data
.
covariates = TRUE
returns additional variables only if at least the veg
column is present in data
. If not, there will be
nothing additional to return.
This function returns a one-column data frame. It is called on a single point location just like fire_weights
.
It is generally used in a context where it is invoked multiple times applied to several point locations.
See point_probs for the generic wrapper used to estimate fire point probability for multiple locations that returns a multi-row data frame.
a data frame.
1 2 3 4 5 6 7 8 9 | ## Not run:
scar <- "FireScar_0_2004.tif"
veg <- "Veg_0_2004.tif"
age <- "Age_0_2004.tif"
coords <- data.frame(lon = -147.7164, lat = 64.8378)
fire_weights(r = scar, xy = coords, veg = veg, age = age)
fire_probs(x)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.