Catseg, a R package for categorising patterns of segregation