Helper function that returns or saves objects created by functions in this package.
Usage
save_or_return_objects(
TEST,
list_to_return,
limiting_n_observations,
save_output,
save_path,
file_name
)
Arguments
- TEST
Logical. If TRUE then the objects it is saving have been generated from a test.
- list_to_return
List. List of objects that you want to be saved.
- limiting_n_observations
Integer. If objects are generated from a TEST then,
limiting_n_observations
.- save_output
Logical. Determines whether
list_to_return
is saved to disk or return into the current R environment.- save_path
String. Path where
list_to_return
will be saved.- file_name
String. File name of saved object.