Skip to contents

write_ts_mdls_from_alg_outp() is a Write function that writes a file to a specified local directory. Specifically, this function implements an algorithm to write time series models from algorithm output. The function returns Output summary (a list).

Usage

write_ts_mdls_from_alg_outp(
  outp_smry_ls,
  predictors_lup,
  backend_1L_chr = getOption("brms.backend", "rstan"),
  combinations_1L_lgl = F,
  consent_1L_chr = "",
  consent_indcs_int = 1L,
  control_ls = NULL,
  cores_1L_int = 1L,
  depnt_var_min_val_1L_dbl = numeric(0),
  existing_predrs_ls = NULL,
  iters_1L_int = 4000L,
  max_nbr_of_covars_1L_int = integer(0),
  new_dir_nm_1L_chr = "F_TS_Mdls",
  options_chr = c("Y", "N"),
  path_to_write_to_1L_chr = NA_character_,
  prior_ls = NULL,
  utl_min_val_1L_dbl = -1
)

Arguments

outp_smry_ls

Output summary (a list)

predictors_lup

Predictors (a lookup table)

backend_1L_chr

Backend (a character vector of length one), Default: getOption("brms.backend", "rstan")

combinations_1L_lgl

Combinations (a logical vector of length one), Default: F

consent_1L_chr

Consent (a character vector of length one), Default: ''

consent_indcs_int

Consent indices (an integer vector), Default: 1

control_ls

Control (a list), Default: NULL

cores_1L_int

Cores (an integer vector of length one), Default: 1

depnt_var_min_val_1L_dbl

Dependent variable minimum value (a double vector of length one), Default: numeric(0)

existing_predrs_ls

Existing predictors (a list), Default: NULL

iters_1L_int

Iterations (an integer vector of length one), Default: 4000

max_nbr_of_covars_1L_int

Maximum number of covariates (an integer vector of length one), Default: integer(0)

new_dir_nm_1L_chr

New directory name (a character vector of length one), Default: 'F_TS_Mdls'

options_chr

Options (a character vector), Default: c("Y", "N")

path_to_write_to_1L_chr

Path to write to (a character vector of length one), Default: 'NA'

prior_ls

Prior (a list), Default: NULL

utl_min_val_1L_dbl

Utility minimum value (a double vector of length one), Default: -1

Value

Output summary (a list)