powered by
Returns marginal entropy for binary variables
entropy(x)
A numeric scalar giving the entropy of `x`.
A binary vector (numeric coded as 0/1 or logical). Must be length >= 1.
entropy(misimdata$x1)
Run the code above in your browser using DataLab