fp_read_csv: Load a design matrix from a CSV file

fp_read_csvR Documentation

Load a design matrix from a CSV file

Description

Load from a CSV file the design matrix that has previously been saved with fp_write_csv(). It is an error if the loaded data frame has different dimensions or column names than the original design matrix.

Usage

fp_read_csv(dm, file, type = c(1, 2), yield = "Y", comment = "#")

Arguments

dm

the design matrix.

file

the file to read the design matrix from.

type

the CSV version (1 or 2).

yield

the yield column name.

comment

the comment mark.

Details

Note that the design matrix is sorted by the StdOrder column after loading.

Value

the design matrix with the new values.

See Also

fp_write_csv()


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