## Not run:
# ## Load data
# data(tspdata)
#
# ## Run tspcalc() on a data matrix and grp vector
# tsp1 <- tspcalc(dat,grp)
#
# ## Get the summary for the tsp object.
# summary(tsp1)
# summary.tsp(tsp1)
# ## End(Not run)
Run the code above in your browser using DataLab