Description Usage Arguments Details Examples
Method to write many formats of triangles to a CSV file
1 | write_triangles(triangles, filename = "triangles.csv")
|
triangles |
Triangles in tall or a list of them in triangular format, or a list of either of those |
filename |
filename (optionally with path) determining where to save triangles. DEFAULT is triangles.csv inside the current working directory |
Writes triangles to a CSV file
1 2 3 4 5 6 | library(data.table)
set.seed(2016)
transactions <- sample_transactions(10)
tris <- make_triangles(transactions)
write_triangles(tris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.