In the vignette section Using Priors, the pfit2 object is supposed to have $K = 2$ mixture components, but when you check table(pfit2@label) you find that all observations are assigned to one cluster. However, according to the scatterplot of pfit2, there are 2 components. Is there are reason for the discrepancy?
In the vignette section Using Priors, the$K = 2$ mixture components, but when you check
pfit2object is supposed to havetable(pfit2@label)you find that all observations are assigned to one cluster. However, according to the scatterplot ofpfit2, there are 2 components. Is there are reason for the discrepancy?