Searches the specified working directory for a file matching "start_tab.csv" and reads in the first matching file as a data frame. This is typically used to initialize MCMC parameter values.

load_start_tab(location = getwd())

Arguments

location

A character string specifying the path to the directory where the function should search for the file. Defaults to the current working directory.

Value

A data frame containing the contents of the first matching start tab file found, or `NULL` if none is found.

See also

[load_antibody_data()], [load_mcmc_chains()]

Other load_data_functions: load_antibody_data(), load_antigenic_map(), load_infection_chains(), load_mcmc_chains(), load_theta_chains()

Examples

if (FALSE) { # \dontrun{
  # Load the start tab from the current working directory
  start_tab <- load_start_tab()

  # Load from a specific subdirectory
  start_tab <- load_start_tab("mcmc_chains/")
} # }