## CMD example
CMD(id=1, filename="CMD_Output.txt", dist=100,
points=activities)
## CMD to shapefile example (exclude the comments below to run script)
## shp <- convert.to.shapefile(cmdloc,cmdatt,"id",5)
## write.shapefile(shp, "CMD_Shape", arcgis=T)
Run the code above in your browser using DataLab