R code to perform Bayesian nonparametric regression with multiway structure. The script 'Periodontal_Example.r' runs a probit stick-breaking model with low CP-Rank on periodontal data with covariates and a binary outcome array [1].
[1] Eric F. Lock and Dipankar Bandyopadhyay (2019). Bayesian nonparametric multiway regression for clustered binomial data. Preprint. https://arxiv.org/abs/1901.11172