# NOT RUN {
# loads path.based dataset
library(gama)
data(path.based)
# the gama clustering algorithm call
gamaObj <- gama(path.based, k = 2, generations = 30)
# ** use at least 100 generations for simple datasets and 500 for complex datasets
# a call to gama.plot.partitions function with "Principal Component Analysis" view method
gama.plot.partitions(gamaObj)
# a call to gama.plot.partitions
# }
# NOT RUN {
gama.plot.partitions(gamaObj)
# }
Run the code above in your browser using DataLab