Waffle plots were created using RiskCom which can be installed from GitHub using devtools
RiskCom
devtools
library(devtools) install_github("JoshuaBridge/RiskCom")