Please can someone show me how to export a file from R in the format of a shapefile in order to be used in GeosegregationAnalyzer (which requires a shapefile).
I have merged attribute data with the shapefile on R as shown below and want to export this new file called "Classmap01"
Brismap01 = st_read("lsoa01/lsoa01.shp")
Class01 = read.csv("ClassData2001.csv")
Classmaps01 = merge(Brismap01, Class01, by.x="lsoa01cd", by.y="code")