format_printfile: Format printfile component for writing to printfile

Description Usage Arguments Value Examples

Description

Converts a list of class pertaining to printfile_defaults into a character vector ready to be written to file

Usage

1
format_printfile(printfile_comp)

Arguments

printfile_comp

A list of class pertaining to a Gadget printfile component, see update_printfile

Value

Character vector of the printfile component ready to be printed to file complete with tabs and newlines

Examples

1
2
3
cod <- list(stockname = "cod", printfile = "printfile")
cod_std <- update_printfile(stock_std, cod)
cod_std_pf <- format_printfile(cod_std)

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.