Model last updated at 2022-06-08 19:04:07.
We estimate the age of a site by calculating the years since the last fire. We then fit a curve to model the recovery of vegetation (measured using NDVI) as a function of it’s age. An additional level models the parameters of the negative exponential curve as a function of environmental variables. This means that sites with similar environmental conditions should have similar recovery curves.
This repository was developed using the Targets framework.
── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ✔ ggplot2 3.3.5 ✔ purrr 0.3.4 ✔ tibble 3.1.6 ✔ dplyr 1.0.8 ✔ tidyr 1.2.0 ✔ stringr 1.4.0 ✔ readr 2.1.2 ✔ forcats 0.5.1 ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ── ✖ dplyr::filter() masks stats::filter() ✖ dplyr::lag() masks stats::lag()
Attaching package: ‘arrow’
The following object is masked from ‘package:utils’:
timestamp
Attaching package: ‘plotly’
The following object is masked from ‘package:arrow’:
schema
The following object is masked from ‘package:ggplot2’:
last_plot
The following object is masked from ‘package:stats’:
filter
The following object is masked from ‘package:graphics’:
layout
Loading required package: abind Loading required package: sf Linking to GEOS 3.8.0, GDAL 3.0.4, PROJ 6.3.1; sf_use_s2() is TRUE
Attaching package: ‘lubridate’
The following object is masked from ‘package:arrow’:
duration
The following objects are masked from ‘package:base’:
date, intersect, setdiff, union
CmdStan path set to: /home/rstudio/.cmdstanr/cmdstan-2.29.1
These parameters represent the relationship of the following environmental variables to the recovery trajectory.
The plot below illustrates some example recovery trajectories. It currently just shows the top 20 cells with the most observations.
Maps of spatial parameters in the model.