Description Usage Arguments Value
Covariate-specific prep function for elevation by location. Specifically, this aggregated covariate represents the population-weighted mean elevation inhabited by residents of each province.
1 | ita_prepare_covar_elevation(covar_fp, pop_raster, polys_sf, projection)
|
covar_fp |
Filepath to the raw covariate |
pop_raster |
[optional] Population rasterBrick object, with one layer per modeling year. Only used to prepare raster covariates, default NULL. |
polys_sf |
[optional] Polygon boundaries |
projection |
[optional] Character vector giving the proj4 CRS definition. Example: "+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs" |
A list of two items: - "prepped_covar": data.table containing the prepped covariate - "covar_indices": Vector of identifiers that should be used to merge onto the modeling dataset. The prepared covariate dataset should only include identifier columns and the covariate value, specified by the covariate name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.