list2param_file: Create parameter file from list

View source: R/param_file.R

list2param_fileR Documentation

Create parameter file from list

Description

Create parameter file from list

Usage

list2param_file(dir_file_param, x)

Arguments

dir_file_param

Path to the directory that will contains the parameter file "parameters.param".

x

A list, for example create by read_param_file() or default_param_file().

See Also

create_param_file(), read_param_file(), default_param_file() cruncher_and_param().

Examples

## Not run: 
dir = tempdir()
# Here a file parameters.param is created in the directory dir
# with default parameters of 'JWSACruncher' v2
list_param <- default_param_file(v3 = FALSE)
list2param_file(dir, list_param)
# to only export the raw and the seasonally adjusted series
list_param$tsmatrix_series <- c("y", "sa")
list2param_file(dir, list_param)

## End(Not run)

rjwsacruncher documentation built on Oct. 5, 2023, 5:09 p.m.