Dat_EBcoBART function

Convenience function to correctly specify co-data matrix if X contains factor variables.