# NOT RUN {
# completely predictable
symmetrical_uncertainty(factor(c(0,1,0,1)), factor(c(0,1,0,1)))
# XOR factor variables
symmetrical_uncertainty(factor(c(0,0,1,1)), factor(c(0,1,1,0)))
symmetrical_uncertainty(factor(c(0,1,0,1)), factor(c(0,1,1,0)))
# }
# NOT RUN {
symmetrical_uncertainty(c(0,1,0,1), c(0,1,1,0))
# }
Run the code above in your browser using DataLab