initialize_settings {sectorgap} | R Documentation |
Model settings
Description
Initializes settings with a basic example.
Usage
initialize_settings(
FUN_transform = function(x) 100 * log(x),
FUN_transform_inv = function(x) exp(x/100),
DFUN_transform_inv = function(x) 1/100 * exp(x/100)
)
Arguments
FUN_transform |
transformation function, the default is
|
FUN_transform_inv |
inverse transformation function, the default is
|
DFUN_transform_inv |
derivative of inverse transformation function, the
default is |
Value
A nested list with settings for the following groups:
agg |
settings for the aggregate variable |
group1 |
settings for |
group2 |
settings for |
subgroup1 |
settings for |
agggroup |
settings for a group of variables that all load on the same variable |
misc |
settings for variables that require individual settings |
Each group contains at least the following list items:
trend |
|
cycle |
|
transform |
logical indicating if the transformation function should be applied to the variable or group of variables |
variable |
variable name(s) |
variable_label |
variable label(s) |
label |
label of group |
The blocks group1, group2, subgroup1
additionally contain the
following list items:
corr |
|
load_name |
name of the variable that all variables in the group load
(for |
load_lag |
lags of the of the variable that all variables in the group
load (for |
constr_drift |
logical indicating if constraints for the drifts should be enforced |
constr_trends |
logical indicating if constraints for the trends should be enforced |
constr_trends_linear |
logical indicating if constraints for the
trends are linear or nonlinear, the default is |
variable_neg |
variable names that are negative and thus need to be subtracted when constructing weights |
The block subgroup1
additionally contain the
following list item:
match_group1 |
a character vector of the same length as
|