Artefact analysis

An analyst groups pottery sherds by rim form to compare assemblages from several excavation areas. What is the main role of this classification?