ezWrite.table | R Documentation |
Modified version of write.table()
with a different default. Best used together with ezRead.table()
.
ezWrite.table(
values,
file = file,
head = "Identifier",
row.names = TRUE,
col.names = TRUE,
append = FALSE,
quote = FALSE,
sep = "\t",
na = "NA",
digits = NA
)
values |
a vector, matrix of data.frame to write a table from. |
file |
the name of the output file. |
head |
the names of the header. |
digits |
the number of digits to round to, if rounding is desired. |
Returns a table written into a separate file.
Rehrauer, Hubert
Schmid, Peter
write.table
ezRead.table
m1 = matrix(seq(0.01, 1, 0.01), 10)
colnames(m1) = letters[1:10]
ezWrite.table(m1, "exampleTable", digits=1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.