Input/Output functions for covariate dataset control lists.

read_covariate_dataset_controls(main = ".", settings = directory_settings())

covariate_dataset_controls(
  main = ".",
  covariate_datasets = prefab_covariate_datasets(),
  settings = directory_settings()
)

write_covariate_dataset_controls(
  main = ".",
  new_covariate_dataset_controls = NULL,
  covariate_datasets = prefab_covariate_datasets(),
  settings = directory_settings(),
  quiet = FALSE
)

Arguments

main

character value of the name of the main component of the directory tree.

settings

list of controls for the directory, with defaults set in directory_settings.

covariate_datasets

character vector of name(s) of covariate dataset(s) to be created.

new_covariate_dataset_controls

list of controls for any new datasets (not in the prefab datasets) listed in datasets that are to be added to the control list and file.

quiet

logical indicator controlling if messages are printed.

Value

list of datasets' control lists, invisible-ly for write_dataset_controls.