getModelFile.Rd
This function is primarily for internal use within occDetFunc
. It is used to
write a model file that fits the users needs, the path to this file is returned.
getModelFile(modeltype, regional_codes = NULL, region_aggs = NULL, verbose = FALSE)
modeltype | Character, see |
---|---|
regional_codes | A data.frame object detailing which site is associated with which region.
each row desginates a site and each column represents a region. The first column represents the
site name (as in |
region_aggs | A named list giving aggregations of regions that you want trend
estimates for. For example |
verbose | Logical, if true progress is reported to the console |
The path to the model file.