Description Usage Arguments Value
View source: R/ThreadNet_Metrics.R
Compressibility is an index of complexity – more compressible means less complex. This function computes the ratio of compressed data to the original data. Should be between zero and one. Uses built-in functions for in=memory compression
1 | compression_index(df, CF)
|
df |
a data frame containing occurrences or events |
CF |
a column or contextual factor in that data frame |
number containing compressibility index, 0 < i < 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.