A unified analysis of niche overlap incorporating data of different types