This R script code was developed by dr. F. Brandolini (Newcastle University, UK) to accompany the paper: *Costanzo S., et al. - Creating the funerary landscape in eastern Sudan.