write_parameters: Export the params_list object to a specific directory

View source: R/SPI_SPEI_at_specific_day.R

write_parametersR Documentation

Export the params_list object to a specific directory

Description

Export the params_list object to a specific directory

Usage

write_parameters(params_list, dir, folder_name = NULL, export = FALSE)

Arguments

params_list

A list object that contains a 'SpatRaster' of 365 layers for each parameter of the selected distribution.

dir

Path to the directory to save the data

folder_name

Which is the name of the parent folder that will be created to store the results? Defaults to NULL (name of folder = Results)

export

Logical. Should the object be exported. Defaults to FALSE, and therefore, if it is not actively changed by the user, it will not write anything to the directory

Value

Writes the params_list object to a specific directory


obaezvil/SpatIndex documentation built on Aug. 9, 2024, 3:42 p.m.