# NOT RUN {
joint_shannon_entropy(factor(c(0,0,1,1)), factor(c(0,1,0,1)))
joint_shannon_entropy(factor(c('a','b','c')), factor(c('c','b','a')))
# }
# NOT RUN {
joint_shannon_entropy(1)
joint_shannon_entropy(c('a','b'), c('d','e'))
# }
Run the code above in your browser using DataLab