Writes the design matrix to a CSV file, with a timestamp and comment lines.
fp_write_csv(dm, file, comment = "# ", timestamp = TRUE, type = c(1, 2), ...)
Invisibly return the design matrix, unchanged, for further piping.
the design matrix.
the file to write the design matrix to.
a comment mark to add before each line of the information.
whether to add a timestamp to the file.
the CSV version (1 or 2).
other parameters passed to write_csv().
Note that the design matrix is saved in the same order of the RunOrder
column, i.e. random.