compression_index: Computes the compressibility of the data in one column of a...

Description Usage Arguments Value

View source: R/ThreadNet_Metrics.R

Description

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

Usage

1

Arguments

df

a data frame containing occurrences or events

CF

a column or contextual factor in that data frame

Value

number containing compressibility index, 0 < i < 1


ThreadNet/ThreadNet documentation built on July 26, 2019, 8:16 p.m.