fp_read_csv {adas.utils} | R 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
[Package adas.utils version 1.2.0 Index]