# NOT RUN {
data(logcta20.hmac)
#logcta20.hmac is the output of phmac(logcta20,npart=1)
soft.hmac(logcta20.hmac,n.cluster=3)
#return the posterior probability of each observation and boundary points.
postprob=soft.hmac(hmacobj=logcta20.hmac,n.cluster=3,plot=FALSE)
# }
Run the code above in your browser using DataLab