get_bdprob_from_rds_file: Load a bdprob from an R rds output file, possibly specified...

get_bdprob_from_rds_fileR Documentation

Load a bdprob from an R rds output file, possibly specified in an array

Description

Takes a file name for an R rds output file that contains a saved Xu_bd_problem object and loads the bdprob from the file. The location of the file comes from the parameters list and can be given in several ways. The source can be an rds file path or a text file containing multiple rds file paths or it can be a yaml array containing multiple rds file paths. If the source is either of the multiple path sources, then the parameters list will contain a variable called cur_input_prob_idx, giving the location of the path in the text file or yaml array.

Usage

get_bdprob_from_rds_file(
  prob_src,
  cur_input_prob_idx,
  rds_file_set_path,
  rds_file_set_yaml_array,
  rds_file_path
)

Arguments

prob_src

character string

cur_input_prob_idx

integer

rds_file_set_path

character string

rds_file_set_yaml_array

vector of character strings

rds_file_path

character string

Value

Returns a list containing named elements related to the source problem, i.e. src_Xu_bd_problem and src_rds_file_dir


langfob/bdpg documentation built on Dec. 8, 2022, 5:33 a.m.