Description Usage Arguments Details Examples
Convert triangles in tall format to a list of triangles in triangular format
1 2 | tall_to_triangular(triangleDT, descriptiveHeaders = TRUE,
idCols = "Cohort")
|
triangleDT |
Triangles in tall, data.table format |
triangleDT |
Should headers be descriptive? |
Returns a list of data.table objects
1 2 3 4 5 6 | library(data.table)
set.seed(2357)
transactions <- sample_transactions(10)
triangles <- make_triangles(transactions, format="tall")
tall_to_triangular(triangles)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.