ffm_write_params: Writes a table of parameters to a CSV format file.

View source: R/params_functions.R

ffm_write_paramsR Documentation

Writes a table of parameters to a CSV format file.

Description

This is simply a wrapper that calls the standard write.csv function with appropriate default arguments.

Usage

ffm_write_params(tbl, path, overwrite = FALSE, must.be.complete = FALSE)

Arguments

tbl

The input simulation parameter table (data frame).

path

The path and file name to write to. The recommended file extension is '.csv' but this is not enforced by the function.

overwrite

Set to FALSE (default) to issue an error message if the output file exists, or TRUE to overwrite any existing file.

must.be.complete

Set to FALSE (default) to enable writing a partial table of parameters, or to TRUE to abort writing and issue an error message if the parameter table is not complete.


pzylstra/frame_r documentation built on Nov. 12, 2023, 1:55 a.m.