This function returns the number of clusters found in the estimation

nclusters(object)

Arguments

object

a dpGLM object returned by the function hdpGLM