This function writes an estimate
to the specified csv file(s).
estimate_write_csv(
estimate,
fileName,
varNamesAsColumn = TRUE,
quote = FALSE,
...
)
estimate
: Estimate object to write to file.
character
: File name for the output of the marginal information of the
estimate. It must end with .csv
.
logical
: If TRUE
the variable names will be written as a
separate column, otherwise as row names.
a logical
value (TRUE or FALSE) or a numeric vector. If
TRUE, any character or factor columns will be surrounded by double quotes.
If a numeric vector, its elements are taken as the indices of columns to
quote. In both cases, row and column names are quoted if they are written.
If FALSE, nothing is quoted. Parameter is passed on to write.table
.
Further parameters to be passed to write.table
.
The marginal information of the estimate
is written to file fileName=<marginal-filename>.csv
. If
the estimate contains correlated variables, the correlation matrix is written to the separate
file <marginal-filename>_cor.csv
.
estimate_read_csv
, estimate
, write.table