This function is called by the pred_transfer module and can transfer predictions generated from a model to a new area of interest.

pred_transfer(country, common, covdf = NULL, aggdf = NULL, logger = NULL)

Arguments

country

character. ISO3 code of the country.

common

The common data structure.

covdf

dataframe. As produced by shiny::fileInput, containing name and datapath columns of covariates

aggdf

dataframe. As produced by shiny::fileInput, containing name and datapath columns of the aggregation raster

logger

Stores all notification messages to be displayed in the Log Window. Insert the logger reactive list here for running in shiny, otherwise leave the default NULL

Value

a list of SpatRaster objects

Author

Simon Smart simon.smart@cantab.net