## Not run:
# source<- system.file("external", package = "mgraph")
# layer="farms"
# graph=boxmap(source,layer,attribute='Age',col='black',label="",factor="Sex")
# summary(graph)
# print(graph)
# plot(graph)
# #Example two with R object
# data(meuse.all, package="gstat")
# #simple box plot
# boxmap(meuse.all,layer="nofile",attribute="zinc", col="light blue")
# #factorised box plot
# boxmap(meuse.all,layer="nofile",attribute="zinc", col="light blue",factor="lime")
# ## End(Not run)
Run the code above in your browser using DataLab