write_results_to_files: Write results to files

write_results_to_filesR Documentation

Write results to files

Description

This function is used two different ways. It's called when the program quits because there are too many species or it's called when the program runs successfully.

Usage

write_results_to_files(
  csv_outfile_name,
  results_df,
  run_ID,
  out_dir,
  tzar_run_id_field_name
)

Arguments

csv_outfile_name

Name of the csv file to write results to, not including csv extension but not including path

results_df

data frame containing the results

run_ID

integer ID of a run

out_dir

character string telling what directory to put the results file in

tzar_run_id_field_name

character string containing name of tzar run ID field in output file

Value

Returns nothing.


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