This function returns a data frame with the data points classified according to the estimation of cluster probabilities generated by the output of the function hdpGLM
classify(data, samples)
Arguments
data
a data frame with the data set used to estimate the hdpGLM model