fp_write_csv: Save a design matrix to a CSV file

fp_write_csvR Documentation

Save a design matrix to a CSV file

Description

Writes the design matrix to a CSV file, with a timestamp and comment lines.

Usage

fp_write_csv(dm, file, comment = "# ", timestamp = TRUE, type = c(1, 2), ...)

Arguments

dm

the design matrix.

file

the file to write the design matrix to.

comment

a comment mark to add before each line of the information.

timestamp

whether to add a timestamp to the file.

type

the CSV version (1 or 2).

...

other parameters passed to write_csv().

Details

Note that the design matrix is saved in the same order of the RunOrder column, i.e. random.

Value

Invisibly return the design matrix, unchanged, for further piping.


adas.utils documentation built on April 12, 2025, 1:52 a.m.