porting diversity metrics analysis to RMD