All parameters except path and notes can be of length 1, or the length of the list of input tables.
write_pzfx(
x,
path,
row_names = TRUE,
x_col = NA,
x_err = NA,
n_digits = 2,
notes = NA,
subcolumns = 1,
subcolumn_suffix = ""
)Data frame or named list of data frames to include as Prism tables.
Path to output file.
Logical or logical vector: include row names as row titles?
Column index or name(s) for X column (0 or NA for none).
Column index or name(s) for X error (0 or NA for none).
Number of decimal places to display for numeric data. Default: 2.
Notes table(s) with columns Name and Value. Default: NA (empty notes).
Number of subcolumns for Y data, or "SDN" for mean/SD/N format. Default: 1.
Regex or string identifying grouped subcolumns (e.g., "_[0-9]+$" to group A_1, A_2 as column A). Default: "" (no grouping).
Invisibly returns `x`.