## Not run:
# #example one non spatial data
# source<- system.file("external", package = "mgraph")
# layer="farms"
# attribute="Variety"
# graph=piemap(source, layer,type="annotated",attribute=attribute,col='black',label="")
# summary(graph)
# print(graph)
# plot(graph)
#
# #Example two with R object
# data(meuse.all, package="gstat")
# piemap(source=meuse.all,layer="nofile",attribute="landuse")
# piemap(source=meuse.all,layer="nofile",attribute="lime")
# ## End(Not run)
Run the code above in your browser using DataLab